
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
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
- I am getting a 401 unauthorized response...
I have a Next.js application that stores user PDFs. I'm able to save them normally, but when trying to access the files using getFileView, I get a 401 Unauthori...
