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
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...