Back

Getting DNS_PROBE_FINISHED_NXDOMAIN in functions url

  • 0
  • Self Hosted
Pratham
11 Mar, 2024, 19:09

I created blank function which return dummy json but when I send get request to that function url it's showing DNS_PROBE_FINISHED_NXDOMAIN.

Note: my appwrite works on sub domain so, the url generates like this function_id.appwrite.mymaindomain.com

TL;DR
Developers experiencing DNS_PROBE_FINISHED_NXDOMAIN error when trying to set up CNAME record for subdomain. The issue may be due to not pointing *.subdomain.domain to appwrite instance or old A record conflict. Solution: Ensure correct CNAME setup and wait for DNS propagation.
ideclon
11 Mar, 2024, 19:12

Have you pointed *.appwrite.mymaindomain.com to your Appwrite instance?

Pratham
11 Mar, 2024, 19:17

no I just pointed appwrite.mymaindomain.com to my Appwrite instance

ideclon
11 Mar, 2024, 19:18

Well, there's your issue, then! 😁

Pratham
11 Mar, 2024, 19:19

But when I tried this I have to delete my old appwrite.mymaindomain.com A record

ideclon
11 Mar, 2024, 19:20

You shouldn't have to... what's your DNS provider?

Pratham
11 Mar, 2024, 19:20

hostinger

ideclon
11 Mar, 2024, 19:22

What happens when you try to create a CNAME record for *.appwrite.mymaindomain.com pointing to appwrite.mymaindomain.com?

Pratham
11 Mar, 2024, 19:24

I also tried with cname but nothing happens I am waiting for sometime because maybe hostinger is taking time to change cname

ideclon
11 Mar, 2024, 19:25

What actually happens? Does it allow you to create the record, or not?

Pratham
11 Mar, 2024, 19:27

yes it's allowing me to create cname

ideclon
11 Mar, 2024, 19:27

DNS changes can take up to 48 hours to take effect

Pratham
11 Mar, 2024, 19:28
ideclon
11 Mar, 2024, 19:28

Ok, looks good. So now you just have to wait for it to propagate

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