Back

Custom domain setup

  • 1
  • Self Hosted
erikkamalov
27 Sep, 2023, 05:09
TL;DR
User is troubleshooting a custom domain setup issue. - User asks for output of `docker compose exec appwrite vars`. - Another user asks if domain environment variables were updated. - User asks if it's wrong to use nginx. - User mentions that another project is already running on port 443, so they can't use that port. - User asks about using nginx or apache as a reverse proxy. - User asks why appwrite is running on port 444 instead of 443. - User asks about DNS records. - User asks for `docker-compose.yml` file for just the `traefik` service. - User asks for
erikkamalov
27 Sep, 2023, 05:10

@here

erikkamalov
27 Sep, 2023, 07:16
TypeScript
Invalid Origin. Register your new client (core.pai.kg) as a new Web platform on your project console dashboard
safwan
27 Sep, 2023, 07:20

Can you check what the value is for the _APP_DOMAIN variable in the .env?

safwan
27 Sep, 2023, 07:20

Please don't tag people directly. It can be very disruptive.

erikkamalov
27 Sep, 2023, 07:24

_APP_DOMAIN=core.pai.kg

safwan
27 Sep, 2023, 07:25

can you run docker compose exec appwrite vars and make sure that's the value being used?

erikkamalov
27 Sep, 2023, 07:26

equal

erikkamalov
27 Sep, 2023, 07:26
safwan
27 Sep, 2023, 07:27

can you run docker compose logs appwrite?

erikkamalov
27 Sep, 2023, 07:28
safwan
27 Sep, 2023, 07:29

Can you show the docker-compose.yml file again? Just the traefik service

erikkamalov
27 Sep, 2023, 07:29
safwan
27 Sep, 2023, 07:31

and in yoir DNS settings, what records do you have?

safwan
27 Sep, 2023, 07:32

also, why are you running appwrite on 444 instead of 443?

erikkamalov
27 Sep, 2023, 07:35
safwan
27 Sep, 2023, 07:36

Are you using a reverse proxy like nginx or apache?

erikkamalov
27 Sep, 2023, 07:36

we have the main application running, we can't change it.

safwan
27 Sep, 2023, 07:37

What do you mean?

erikkamalov
27 Sep, 2023, 07:37

ngnix

erikkamalov
27 Sep, 2023, 07:39

another project has been launched on port 443, which right now we can't change the port.

erikkamalov
27 Sep, 2023, 07:50

is it wrong to use nginx?

Drake
27 Sep, 2023, 20:09

Did you update the domain environment variables?

erikkamalov
28 Sep, 2023, 01:39

Yes

Drake
28 Sep, 2023, 01:40

Would you please check the output of docker compose exec appwrite vars?

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