Change port forward url to coder.domain.tld/xxxxx

Is it possible for me to change the url for port forwarding to coder.domain.tld/xxxxx like the code-server instances are? I am unable to use the *.coder.domain.tld format due to cloudflare requiring advanced certificate manager for 2 step subdomains.
3 Replies
Codercord
Codercord8mo ago
<#1225073389148835850>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Stephen
Stephen7mo ago
I am by no means an expert when it comes to Coder however I have ran into the same issue myself in the past. I don't believe it's possible to use ports in your suggested format as I did ask when I first ran into this & I don't think this has changed since. One way I got around this was using *.domain.tld this way all traffic to the domain which wasn't going to an already configured subdomain would point to coder, however I appreciate that this is not ideal as if a user went to a slight variation of the base domain that hadn't been configured they would instantly be shown coder! The other alternative I found was to have cloudflare route traffic using the wildcard.coder.domain.tld without enabling its proxy feature, this way you could run it into a reverse proxy which could then apply an SSL certificate issued by lets encrypt or some similar service. This way you still have HTTPS and dodge the advanced certificate as they are not the ones issuing the wildcard certificate! Hope this helps, I am sure a coder representative will reply at some point who may help better
Phorcys
Phorcys7mo ago
port-forwarding requires a wildcard domain so you can't do it lie that sadly
Want results from more Discord servers?
Add your server