Hi Guys,
I setup my custom domain but there is an aspect of it that is a bit confusing, I have searched through the history in support to see if anyone had custom domain issues; i read up on the conversations I found and adopting the instructions helped me get to my current state.
This is my context and what I have done so far:
Context:
- Main domain was acquired with namecheap.com
- NS records were set to those provided by DigitalOcean
- I am using the DigitalOcean image of Appwrite which is currently running v1.3.4
- My intended domain for use is
https://infra.vitalsai.health
What I have done:
- Created an A record on my main domain:
appwrite.vitalsai.healthpoints to my appwrite IP address - Created a CNAME on my main domain:
infra.vitalsai.healthwhich points toappwrite.vitalsai.health
Outcome:
- The custom domain loads my appwrite instance
- I have SSL activated against the custom domain
Confusion:
Within Appwrite Settings for my project, the domain is listed but unverified
What does this mean and how does it impact my setup?
Sorry for the long-winded question and I appreciate any insights on this
cc @Aditya Oberai
Within Appwrite Settings for my project, the domain is listed but unverified
could you pls expand bit more...
How many domains do you need for your Appwrite instance? Just infra.vitalsai.health? Or appwrite.vitalsai.health too?
This is a screenshot of my settings section
I only need https://infra.vitalsai.health for the Appwrite instance
Then you don't need a custom domain
This is what I did on DigitalOcean
Prior to taking this action, I added infra.vitalsai.health as a domain on DigitalOcean and attached an A record to it pointing to the IP address
The outcome - Appwrite was extremely slow and SSL didn't work (could be because I hadn't run docker exec -it appwrite ssl) and I always got a blank page for the longest time and then Appwrite loads
I don't think so.
Why did you make that cname?
Why did you make the A record with appwrite.whatever when you wanted infra.whatever?
You only need the A record for infra.whatever if that's the only domain you need
I saw this as one of the comments regarding something close to my situation https://discord.com/channels/564160730845151244/1103160463585456249/1103164139523821618
So what are you recommending as the actual approach:
- Get rid of the custom domain
- Create an A record
infra.vitalsai.healthwhich points to the IP address of my Appwrite droplet
The End
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error