Host content with cdr.co

Coder + VSCode allows you to host your content right from the IDE. As soon as you start a server, Coder will generate a URL you can access from the cdr.co menu. It's a great way to preview your work or easily share it. We support any web server which runs on the 0.0.0.0 domain with one of our available ports.

  • Supports hot reloading
  • Generates a unique URL for you to share
  • Example cdr.co URL: https://8080-dusthomesickdeer.cdr.co/
  • The first part of the URL will always be the port your server runs on

How it works

Note: Be sure to run your web servers using 0.0.0.0 to ensure cdr.co recognizes the server

  • Start your web server from the terminal

  • In Vscode, look for the globe icon and click it
  • Click the cdr.co URL at the top of the list

Things you should know

  • Cdr.co web servers are live while the container is active

  • Switching projects will cause any web servers to end

  • Make sure to use one of the available ports below:

    • 80
    • 3000
    • 3001
    • 8000
    • 8080
    • 9000
    • 9001