Back

[SOLVED] ✗ Error getaddrinfo ENOTFOUND subdomain.domain.com

  • 0
  • Self Hosted
s.o
20 Aug, 2023, 09:25

I cant login to appwrite instance that points to my subdomain

TL;DR
Error message: ✗ Error getaddrinfo ENOTFOUND subdomain.domain.com Solution: The issue was resolved by specifying the correct endpoint in the terminal/command line. The following command was used: `appwrite client --endpoint https://subdomain.domain.com/v1`. Make sure to change `https://subdomain.domain.com/v1` to the correct domain. Additionally, the user had set up the DNS records properly in Cloudflare.
D5
20 Aug, 2023, 09:26

Where are you getting this error?

D5
20 Aug, 2023, 09:26

Did you have setup the corresponding DNS records?

s.o
20 Aug, 2023, 09:26

when using appwrite cli. Yes the DNS records are properly setup in cloudflare

D5
20 Aug, 2023, 09:27

So you can access your instance through the browser as usually, or nor

D5
20 Aug, 2023, 09:28

Is this self-hosted or cloud?

s.o
20 Aug, 2023, 09:28

yes i can access my self-hosted instance through my browser as well as ssh

D5
20 Aug, 2023, 09:29

When the cli has requested you to give the endpoint, did you have set https://subdomain.domain.com/v1 or just https://subdomain.domain.com ?

s.o
20 Aug, 2023, 09:31

I did not get to the point where the cli requests for an endpoint. After installing cli i did an "appwrite login" it only asks for email and password. Its important to point that i had an earlier instance that worked though i shut it down

s.o
20 Aug, 2023, 09:32

is there a way that i can start over?

D5
20 Aug, 2023, 09:34

Write in your terminal/command line this: appwrite client --endpoint https://subdomain.domain.com/v1

Obviously change https://subdomain.domain.com/v1 to your domain

s.o
20 Aug, 2023, 09:36

Thank you works like a charm.

D5
20 Aug, 2023, 09:37

So does that solves your issue?

s.o
20 Aug, 2023, 09:38

yes it does.

D5
20 Aug, 2023, 09:39

Great! 😄

D5
20 Aug, 2023, 09:39

[SOLVED] ✗ Error getaddrinfo ENOTFOUND subdomain.domain.com

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