Back

Can't register on appwrite (self-hosted) , its telling to add my domain to web platform

  • 0
  • Web
D5
14 Jan, 2024, 22:14

But the IP address is unreachable

TL;DR
Title: Trouble Registering on Self-Hosted Appwrite - Domain Configuration Issue Summary: The developer is experiencing difficulty registering on a self-hosted Appwrite app. They are getting a notification to set their domain as a web platform. They have already edited the .env file and set the domain as the _APP_DOMAIN and app domain target, but they are still receiving the same notification. They have tried restarting the Docker container and accessing the app from their home server's Apache webserver. Solution: 1. Check the logs using `docker compose logs appwrite` to identify any errors. 2. Use `docker compose exec appwrite
D5
14 Jan, 2024, 22:14

I mean, your computer/router IP address

Adi
14 Jan, 2024, 22:15

Umm, I am using apache in my Linux server. I set the location to the port

Adi
14 Jan, 2024, 22:15

So it's reachable to public

D5
14 Jan, 2024, 22:15

Is 127.0.0.1 the server IP?

Adi
14 Jan, 2024, 22:16

Nope

Adi
14 Jan, 2024, 22:16

I have to put my ip:port in the apache location proxy pass?

D5
14 Jan, 2024, 22:17

Oh, so you're using a reverse proxy, right?

D5
14 Jan, 2024, 22:17

In such case, yes, you will need to set the proxy to forward to the appwrite port

Adi
14 Jan, 2024, 22:18

Yea, to open it in the publix

Adi
14 Jan, 2024, 22:18

*Public

D5
14 Jan, 2024, 22:19

But you don't have anything else in the server?

Adi
14 Jan, 2024, 22:21

It's like my static ip sending everything to my local server's domain and then from it's apache it's reading from the port and then sending the html css js

Adi
14 Jan, 2024, 22:21

Same error @D5

Adi
14 Jan, 2024, 22:22

<ip> is not a public ally accessible domain

Adi
14 Jan, 2024, 22:23

So if I want to make it publically accessible then I have to put my static ip:port in the apache? 🙂

Adi
14 Jan, 2024, 22:24

And it's not a error. Just a yellow warning

Adi
14 Jan, 2024, 22:26

Can I disable this security? That I can't login with other domains?

D5
14 Jan, 2024, 22:39

It's not security at all, but configuration

Drake
14 Jan, 2024, 22:41

You have apache as a reverse proxy in front of Appwrite?

Adi
14 Jan, 2024, 22:42

Yea

Drake
14 Jan, 2024, 22:42

You need to make sure to forward the host header. If you look at the GitHub discussions of the Appwrite repo, you'll find some similar posts about this

D5
14 Jan, 2024, 22:43

Also here there's another one. Let me check

D5
14 Jan, 2024, 22:54

Discord search in phones are limited, no idea why, so I can't find it 😭

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