Custom Domain issues - Appwrite 1.8.1 Selfhost using DigitalOcean marketplace Droplet
- 0
- Self Hosted
Hi, I'm experimenting with Appwrite v1.8.1 on DigitalOcean. My NextJS app works fine with the Appwrite generated site url appwrite1.sites.mysite.com but the app struggles to fetch and display database data (from Appwrite db) on my /faq page if I use a custom domain like cd.mysite.com. I have my custom domain added in the Sites dashboard and pointing via CNAME to sites.mysite.com (Cloudflare DNS Only) and the SSL cert for cd.mysite.com seems fine when tested. LetsEncrypt seems to generate fine for the custom domain but I don't actually get the verify button indicating green for successful domain addition. I have a platform created for cd.mysite.com in Appwrite dashboard also. My goal is to have 5 playground projects with 5 different corresponding NextJS apps using 5 different subdomains so using _APP_DOMAIN=appwrite.mysite.com in appwrite>.env In the browser console I get intermittent fetch (pending) and 500 errors when trying to fetch data for my /faq page using the custom domain specifically. The fetch sometime loads and shows data, and sometimes it just goes to pending and eventually loads after 30 secs, and sometimes it just fails with a 500 error loading nothing. App is basic so no resource usage or bandwidth issues. App also works fine in dev on my laptop localhost:3000. Custom domains are the issue. Errors Attached Thanks
Recommended threads
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...