we have appwrite instance running on a VPS with ip of 192.168.1.75 on Docker ! then
i have add A record in cloudflare and mapped the ip to domain of app.kajelevator.ir
also i built web flutter application deployed on cloudflare pages and mapping the custom domain of it to kajelevator.ir that effected DNS configurations in cluodflare to have a CNAME record with kajelevator.ir content kajelevator.pages.dev
Now the record look like this
type name content
A app 192.168.1.75
CNAME kajelevator.ir kajelevator.pages.dev
now from flutter pwa witch is kajelevator.ir when i send request to my app instance i got a CORS error. how to fix it ?
with reserch and using ai i have edited .env file of docker with following things
.env _APP_DOMAIN_TARGET=app.kajelevator.ir _APP_DOMAIN=kajelevator.ir _APP_CORS_ALLOW_ORIGIN=https://kajelevator.ir
but the error persist and the error is this:
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...