#Appwrite Local Instance
1 messages · Page 1 of 1 (latest)
Do you have some reverse proxy in front of Appwrite?
Nope
What you mean local instance
You're accessing it through http://localhost?
nope, real domain name
And what exactly are you doing (what's your code)?
No
👆 ?
- Is the instance endpoint in a remote server or in your computer?
- Are users come from all around, as it live, or you in testing period?
Got you,
It was the locale object, my miss understanding.
It's on a remote server and I'm currently testing it but not in Poland.
So how did you check what other users gets?
Only you?
When you go to this website
What country you're getting?
Yes only me
My country "Cameroon"
When you go to this URL
https://your-domain.com/v1/locale/
What do you get?
And in here at Appwrite cloud
https://cloud.appwrite.io/v1/locale
{"ip":"85.31.237.177","countryCode":"PL","country":"Poland","continentCode":"EU","continent":"Europe","eu":true,"currency":"PLN"} 😅 why?
Also in the Appwrite cloud one?
That IP address is hostinger...what's the relation of that and your Appwrite?
Maybe it's how hostinger proxies the requests to Appwrite
{"ip":"154.72.171.250","countryCode":"CM","country":"Cameroon","continentCode":"AF","continent":"Africa","eu":false,"currency":""}
Where are you hosting your Appwrite instance?
Do you have any other Apps on that server?
What version of Appwrite you're using?
I bought a VPS from Hostinger a few days ago and that's where I installed Appwrite.
Hostinger VPS
Nope, only CloudPanel
Appwrite 1.4.9
Yes To point it at a domain name
It's worth checking it out
For now I would recommend checking one of these 3 that report to work very good with Appwrite
- Linode
- Digital Ocean
- Hetzner (the cheapest)
Okay Thanks
And sure
You also have Appwrite Cloud
When a use only ip address all works {"ip":"154.72.171.250","countryCode":"CM","country":"Cameroon","continentCode":"AF","continent":"Africa","eu":false,"currency":""}
Yes, makes sense
maybe you have some setting in your DNS for (enable proxy)
Probably their DNS somehow reversing the proxy
cloudflare does this
What you can do is to manage the DNS by your own and just point some A record to your server IP
Can he have a mini-documentation for this? 😅
Where is your domain hosted?
You can check this list
In that solution you're using CNAME because you're pointing it to an existing domain name
In your case you'll need to add A record as you're pointing to an IP address
Hostinger
Also the domain?
Yes
And you've added A record that points to your server IP?
Give me a few minutes to do it.
This was already the case
I went through Hostinger documentation and haven't find anything about proxy
I'll suggest you'll contact them