Back

[SOLVED] Cannot add custom domain name

  • 0
  • Self Hosted
Drake
5 Aug, 2023, 20:40

You only need to have treafik trust nginx. There's a section in the article I sent

TL;DR
Title: [SOLVED] Cannot add custom domain name Solution: The issue was resolved by using incognito mode and upgrading to a medium member. There was also a solution provided to fix the IP address issue by configuring NPM and Traefik. It was mentioned that Cloudflare automatically sets up SSL certificates and an API token from Cloudflare might be needed. Additionally, configuring nginx to trust Cloudflare was suggested.
Drake
5 Aug, 2023, 20:41

Oh wait... And you might need to configure nginx to trust cloudflare

nishp77
5 Aug, 2023, 20:41

oh

nishp77
5 Aug, 2023, 20:41

I used cloudflare before for my site I didn't need to ?

Drake
5 Aug, 2023, 20:42

What do you mean?

Drake
5 Aug, 2023, 20:42

Btw, you don't need to. It's just if you want IP addresses to be detected properly

nishp77
5 Aug, 2023, 20:42

oh sorry i know what you mean, is the API token from cloud flare?

Drake
5 Aug, 2023, 20:42

What API token?

nishp77
5 Aug, 2023, 20:43

for the ssl certificates side

D5
5 Aug, 2023, 20:44

Nope, Cloudflare setups the SSL automatically

nishp77
5 Aug, 2023, 22:46

I was reading more about traefik, its also reverse proxy then do I need NPM? was like can I just you use traefik then?

Drake
5 Aug, 2023, 22:51

I prefer leaving Appwrite's traefik as is and using NPM in front

nishp77
5 Aug, 2023, 22:53

Thank you steven and D5 you guys have helped me understand this more better, I just made traefik working now going to add NPM in front because I'm facing issues there idk y but will investigate further more on it

nishp77
5 Aug, 2023, 22:56
  • --entrypoints.appwrite_web.forwardedHeaders.trustedIPs= - --entrypoints.appwrite_websecure.forwardedHeaders.trustedIPs=

The IPs are for the NPM container? can this be of same machine even?

Drake
6 Aug, 2023, 00:16

It should be to be the IP address of NPM container

nishp77
6 Aug, 2023, 03:15

No worries I got that fixed and thanks lot for the help

THE-E
6 Aug, 2023, 15:46

Is it necessary to be medium member to read this?

THE-E
6 Aug, 2023, 16:02

I am unable to read the second part of the instructions.

Drake
6 Aug, 2023, 16:02

You might be able to open in incognito

THE-E
6 Aug, 2023, 16:05
THE-E
6 Aug, 2023, 16:05

If I log in I am asked to upgrade to a medium member.

Drake
6 Aug, 2023, 16:06

Oh wow.. interesting...you might need to then

Drake
6 Aug, 2023, 16:07

Also, please create a new post rather than using someone else's thread

D5
6 Aug, 2023, 16:46

Yes, it's a members only

joeyouss
8 Aug, 2023, 10:13

[SOLVED] Cannot add custom domain name

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