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
- Error getting session: AppwriteException...
I get this error `Error getting session: AppwriteException: User (role: guests) missing scope (account)` when running in prod. As soon as I try running my app o...
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
