I installed it before I set my domain, and it installed itself at my server IP and won't allow login through appwrite.mydomain.com - despite what the error says I did set up the domain in my web console
TL;DR
Title: [SOLVED] API Endpoint not working with custom domain
Messages:
- User installed API Endpoint before setting domain, resulting in it being installed at server IP instead of `appwrite.mydomain.com`.
- User tried adding a custom domain, but verification failed repeatedly.
- User ensured that `DOMAIN` and `DOMAIN_TARGET` env vars were set correctly.
- User also restarted the system after fixing the vars.
Solution:
The user needs to ensure that they have correctly set up the domain in their web console AND the DNS configuration. Additionally, they should try restarting the API Endpoint service using the properTried adding a custom domain, but verifications fails every time
there are the DOMAIN and DOMAIN_TARGET env vars
They are both set correctly
TypeScript
_APP_DOMAIN=appwrite.obrianspub.com
_APP_DOMAIN_TARGET=appwrite.obrianspub.com
I restarted it as well after fixing these vars
How did you restart?
Recommended threads
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- trying to figure out how to activate my...
please help