Back

[Closed] how to verify custom domain with namecheap

  • 0
  • Self Hosted
  • General
D5
9 Nov, 2023, 08:47

If you want to have an specifc domain for each project

TL;DR
The thread is about how to verify a custom domain with Namecheap. The suggestion is to use a reverse proxy to allow multiple services on one port. There is a link to a tutorial on setting up IIS with URL rewrite as a reverse proxy. The user also asks about accessing the domain without a port and the importance of the `_APP_DOMAIN_TARGET` and `_APP_DOMAIN` variables. The solution is to set the server to default HTTP/HTTPS ports and configure the specific domain for each project.
Suiii
9 Nov, 2023, 08:54

In where ?

Suiii
9 Nov, 2023, 08:55

env

D5
9 Nov, 2023, 08:56

Yes

Suiii
9 Nov, 2023, 09:07

_App_Domain only rights?

Suiii
9 Nov, 2023, 09:09

and what about _App_Domain_Target

Suiii
9 Nov, 2023, 09:34

@D5 it is working, is there way to access domain without port ?

Suiii
9 Nov, 2023, 09:37

domain:8888, but I want to access without port

D5
9 Nov, 2023, 09:45

If you don't have anything else in the server, you can set it to default http/https port

Suiii
9 Nov, 2023, 09:53

Will tru

ideclon
9 Nov, 2023, 10:01

_APP_DOMAIN is the domain of Appwrite, _APP_DOMAIN_TARGET is where Appwrite will expect to see other domains pointed too.

ideclon
9 Nov, 2023, 10:02

As D5 said, if port 80/443 are available on your server, you can set Appwrite to use them. If not, you can use some kind of reverse proxy.

Suiii
9 Nov, 2023, 10:06

how to do reverse proxy

D5
9 Nov, 2023, 10:21
D5
9 Nov, 2023, 10:22

The tutorial missed the part of setting traefik to trust the prox

Suiii
9 Nov, 2023, 10:23

let me check it out

Suiii
9 Nov, 2023, 10:37

@D5 not work

Suiii
9 Nov, 2023, 10:42

my case would be like, the incoming to iis server, then it need to foward to appwrite linux server

ideclon
9 Nov, 2023, 11:00

Best scenario would be to move IIS off port 80, and have the reverse proxy listening there instead, and forward to IIS. Otherwise - https://techcommunity.microsoft.com/t5/iis-support-blog/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world/ba-p/846222

Suiii
9 Nov, 2023, 11:08

iis need port 80 and 443, because the domain are pointed to the server public ip . and subdomain will be handled by iis . I just think if there is way to add new site in iis, then forward proxy to appwrite server

ideclon
9 Nov, 2023, 11:29

The point of a reverse proxy is to allow you to have multiple services on one port. You could have the reverse proxy point 80/443 to both IIS and Appwrite

Suiii
9 Nov, 2023, 11:35

Oh right. Now the public ip is only to iis

Drake
10 Nov, 2023, 19:01

Anything else you need or can this be closed?

Suiii
11 Nov, 2023, 02:18

can be closed.

Suiii
11 Nov, 2023, 02:18

[Closed] how to verify custom domain with namecheap

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