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
Summary
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
Mar 11, 2024, 19:12
Have you pointed *.appwrite.mymaindomain.com to your Appwrite instance?
Pratham
Rank 2: Process
Mar 11, 2024, 19:17
no I just pointed appwrite.mymaindomain.com to my Appwrite instance
ideclon
Mar 11, 2024, 19:18
Well, there's your issue, then! 😁
Pratham
Rank 2: Process
Mar 11, 2024, 19:19
But when I tried this I have to delete my old appwrite.mymaindomain.com A record
ideclon
Mar 11, 2024, 19:20
You shouldn't have to... what's your DNS provider?
Pratham
Rank 2: Process
Mar 11, 2024, 19:20
hostinger
ideclon
Mar 11, 2024, 19:22
What happens when you try to create a CNAME record for *.appwrite.mymaindomain.com pointing to appwrite.mymaindomain.com?
Pratham
Rank 2: Process
Mar 11, 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
Mar 11, 2024, 19:25
What actually happens? Does it allow you to create the record, or not?
Pratham
Rank 2: Process
Mar 11, 2024, 19:27
yes it's allowing me to create cname
ideclon
Mar 11, 2024, 19:27
DNS changes can take up to 48 hours to take effect
Pratham
Rank 2: Process
Mar 11, 2024, 19:28
ideclon
Mar 11, 2024, 19:28
Ok, looks good. So now you just have to wait for it to propagate