Wildcard Domain w/ Cloudflare
Hello!
I've looked through the documentation on setting up a wildcard domain, and I've looked through this channel, but I am still a little confused on what people end up doing. I also tried using a LetsEncrypt wildcard certificate (I set all the TLS_CERT information in
/etc/coder.d/coder.env).
I have a self-hosted Coder deployment, and my domain is through Cloudflare (which doesn't support deep subdomains). I am not using a reverse proxy at the moment, but I am using a Cloudflare tunnel between my server and my website (although I can totally do it directly using port forwarding as well if I need to). I am wondering what I should do to get a wildcard subdomain working. Should I only use path-based?
Thanks for your time,
Callum4 Replies
<#1424472943127433309>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
I currently have a very similar setup as you.
I have this setup through an NGINX reverse proxy port-forwarded, and then you should be able to set up your DNS entries for the wildcard on your domain and point it to your NGINX reverse proxy that has the config setup for coder.domain.com and *.coder.domain.com to point to your coder instance.
Thank you so much! I’ll set that up and go from there.