Back

[Closed] Self host appwrite

  • 0
  • Users
  • Teams
  • Tools
  • Self Hosted
D5
15 Nov, 2023, 14:42

Do you have set a domain to your appwrite instance?

TL;DR
User is trying to self-host Appwrite and wants to set a domain for their instance. They have set the domain to the public IP and pointed ports 80 and 443 to the IIS server. They also have SSL registered for a subdomain and tried setting up a reverse proxy from IIS to Appwrite, but it's not working. The solution is to expose Appwrite on standard ports (80 and 443) for the certificate to generate. If the user has multiple apps running on the same server, they can use a reverse proxy. However, in this case, the reverse proxy from IIS to Appwrite doesn't
Suiii
15 Nov, 2023, 15:15

_APP_DOMAIN right

Suiii
15 Nov, 2023, 15:15

I have set

D5
15 Nov, 2023, 15:39

Are you using a reverse proxy or similar?

Suiii
15 Nov, 2023, 15:45

I have public ip , then forward to the appwrite local.

Suiii
15 Nov, 2023, 15:46

the domain is pointed to public ip.

Suiii
15 Nov, 2023, 15:46

port 80 and 443 are pointed to IIS server.

Suiii
15 Nov, 2023, 15:46

I use 8888 for appwrite.

Suiii
15 Nov, 2023, 15:48

I have ssl pointed to subdomain, it's registerd in iis. I also try to do reverse proxy from iis to appwrite, but it does not work

Drake
15 Nov, 2023, 16:55

Something is wrong with your domain. It's not pointing to your Appwrite. When I browse to it, I get a 404

Suiii
16 Nov, 2023, 01:50

if you add port 8888, it willl

Drake
16 Nov, 2023, 01:51

It must be exposed on standard ports for the certificate to generate

Suiii
16 Nov, 2023, 01:52

can you give some idea, as port 80 and 443 occupided by iis. normally, I host in iis with some domain

Drake
16 Nov, 2023, 01:53

Uhh if your problem is you have multiple apps running on a certain server, the solution is to use a reverse proxy

Suiii
16 Nov, 2023, 01:53

I setup reverse proxy from iis to local appwrite server. but it seems iis can't reverse to appwrit

Drake
16 Nov, 2023, 01:54

That sounds odd

Suiii
16 Nov, 2023, 01:55

right. I follow the setup reverse proxy iis docs, it should be straigforward, but it doesnot work

Drake
16 Nov, 2023, 01:55

What's the problem?

Suiii
16 Nov, 2023, 01:57

so I setup when the connection by the subdomain, it goes to my local server public ip (which already domain pointed in namecheap). it should go to iis server. then iis should reverse proxy it to appwrite.

Suiii
16 Nov, 2023, 01:57

but as you see, i already setup but when we access domain, it shows 404

Suiii
16 Nov, 2023, 01:57

which means it doesnot reverse to the appwrite yet.

Suiii
16 Nov, 2023, 01:58

by exposing port 8888.it directly goes to appwrite server directly.

Suiii
16 Nov, 2023, 01:58

the reason is iis occupied port 80 and 443. so it must go through iis

Drake
16 Nov, 2023, 01:59

Yes... That's how reverse proxies work

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