Skip to content
Back

Origin error after changing default ports

  • 0
  • Self Hosted
Bielframos
6 Jul, 2025, 14:17

Hi! I need some help regarding an issue I’m facing with Appwrite after changing the default ports.

I have a self-hosted Appwrite instance running on my VPS. I followed the official documentation for a standard installation. I also configured an A record in my DNS pointing my domain directly to the server IP.

Initially, everything was working fine using the default ports 80 (HTTP) and 443 (HTTPS).

However, yesterday I installed EasyPanel on the same server, which required the default ports. To avoid conflicts, I modified the Appwrite docker-compose.yml file and changed the port mappings to:

TypeScript
8080:80
8443:443

The DNS record remains the same. Inside EasyPanel, I created a domain entry that points my subdomain to the server IP and port 8080. With this configuration, I can access the Appwrite console without any issues.

But now, when I try to create a new project, I get the following error:

TypeScript
Invalid Origin. Register your new client (my-domain) as a new Web platform on your project console dashboard.

I haven’t changed anything else besides the ports. Is there something I’m missing related to the platform origin or host headers when using custom ports?

Thanks in advance!

TL;DR
Appwrite error after changing default ports to 8080 and 8443. Error message: "Invalid Origin. Register your new client (my-domain) as a new Web platform on your project console dashboard." Likely related to host headers when using custom ports. Solution: register the new client domain on the project's console dashboard.
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