
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

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

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

Well, there's your issue, then! 😁

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

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

hostinger

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

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

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

yes it's allowing me to create cname

DNS changes can take up to 48 hours to take effect


Ok, looks good. So now you just have to wait for it to propagate
Recommended threads
- Request failed while trying to migrate
I want to migrate a self hosted appwrite instance to another one. When i enter the source data in the new appwrite instance and click next and wait a minute, i ...
- Appwrite API and Console keep failing
i have an appwrite docker container.... Somehow today it suddenly startet to keep failing every half an hour to two hours. The server is reachable via ping but ...
- Install node-18 as function runtime?
How do i install node-18 function runtime to my appwrite on localhost? I have upgraded to appwrite 1.6.1. I can't find anything on Google and none of the ChatGP...
