Help, Invalid Origin. Register your new client (someweb.com) as a new Web platform on your project
- 0
- Self Hosted
- Accounts
- Web

Hi, help please. I am trying to self-host Appwrite service by using docker-compose, but met this error when I try to signup the first account.
Invalid Origin. Register your new client (eeeee.sss.com) as a new Web platform on your project console dashboard
I have tried this solution https://github.com/appwrite/appwrite/discussions/4818, still now work, also tried:
- set host header in Nginx config
- checked vars by
docker compose exec appwrite vars

This only happens if your domain environment variables are incorrect 🧐
You're accessing Appwrite with the same domain as the domain env var? And you put the domain only in the environment variable, right?

thanks for reply, I think my environment variables definitely incorrect, I need to access the website by a port 10011, is this the reason? In the env file, the port is 9001 for Appwrite, and open access by the proxy_pass of Nginx with port 10011, so I could visit it by the domain: https://somesite.com:10011
I've deployed too much services on my small server, and I can't use the 443 port.

There are no ports configured for the appwrite host in the .env file

If you have a reverse proxy on port 443, you can expose anything on 443 through it

I see, thanks~
Recommended threads
- Sites Problem
Hi, I keep getting this problem when deploying my site. I have already made sure the site is active which it is. It even shows the preview of my site but when ...
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Cutsome Domain Setup issue
when i adding custom domain on project settings its showing verification failed, even though i add dns on my name.com
