try creating wild-card sub-domain in your DNS settings for functions
how do i do that?
like this *.appwrite.xyz.com and point it to your Appwrite VPS's IP Address, just like you did with appwrite.xyz.com.
A record?
yes
like this right?
yes
what is your domain name for appwrite ?
why?
*.<whatever-is-your-domain-name>
yes, thats the value i put for the a record
okay perfect
but with an appwrite in between like here
so now i got an A record with *.appwrite and one with appwrite
okay, what TTL did you set
300
the function url now works
thanks
perfect!
but the ssl certificate has a exclamation mark
the ssl cert for the base domain is fine though
wait for some time, appwrite will assign it automatically, if it's doesn't then you can manually assign it yourself using appwrite by running this command in your appwrite VPS
via SSH : docker compose exec appwrite ssl domain="<your-function-domain>"
learn more about it here: https://appwrite.io/docs/advanced/self-hosting/tls-certificates#manual-generation
If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title.
[SOLVED]"Error: Couldn't resolve host name" on function domain
Recommended threads
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...