Coder.comC
Coder.com3y ago
4 replies
Stephen

Forward Ports From Code Projects

I am intending to primarily use my code server hosted by coder for web development and have seen it is possible to access the ports through a format like 8000.code.<My Domain>.xyz however despite my best efforts I cannot get this to work.

I have setup Cloudflare to have two CNAME records, one being code.<My Domain>.xyz & the other being a wild card *.code.<My Domain>.xyz, these both point to my server. Within npm I have two "Proxy Hosts" one for each both with there own SSL certificates (the wild card having an SSL challenge) pointing at coder.

Currently Cloudflare shows that my record is NOT covered by my certificate, I don't really want to spend on their monthly advanced certificate plan so wondered if there was another way anyone could recommend.

So my main question is how would I properly set this up, and if there's any alternatives to this setup <port>.code.<My Domain>.xyz. I am assuming there would be more setup steps even after the DNS & proxy is all configured correctly. I would love a bit of help, thanks (:

Information
- Running Coder On Ubuntu Linux Within Docker
- Using Code Server Docker Templates
- Using Cloudflare & NPM (Nginx Proxy Manager)
SSL_error.png
Was this page helpful?