Back

Custom api domain linking trouble

  • 0
  • Self Hosted
Incbom
29 Apr, 2024, 00:05

Hello,

I am using Nginx Proxy Manager (https://nginxproxymanager.com/) to forward appwrite to my domain. When I setup the CNAME record to point from api.polarix.host to appwrite.polarix.host (as stated by the directions) it says it is not pointed to the domain (even though the record has been up for 5 days now at least.

Unsure why this would be the case

TL;DR
Developers are discussing setting up a custom API domain. One developer is using Nginx Proxy Manager but having trouble pointing their CNAME record correctly. Another developer suggests that having Cloudflare proxy on could be causing issues. Make sure to have appwrite pointed to both api.polarix.host and appwrite.polarix.host. It's recommended not to have your domain verified for NPM.
Incbom
29 Apr, 2024, 00:07

I do however have appwrite pointed to BOTH api.polarix.host and appwrite.polarix.host as without this when I go to api.polarix.host it shows the Nginx success screen

Steven
29 Apr, 2024, 00:23

Well it's partly because you have cloudflare proxy on.

Steven
29 Apr, 2024, 00:23

Anyways, if you have NPM you don't really need your domain to be verified or anything

Incbom
29 Apr, 2024, 00:24

I'm trying to get that on because I keep getting the 3rd party cookies blocked message on saying it reverted to localstorage

Steven
29 Apr, 2024, 00:25

Ya it's fine. You don't need it verified or a SSL cert. You just need the endpoint to be a sub domain of your app

Incbom
29 Apr, 2024, 00:26

Ah ok so that doesn't matter? Thanks!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more