Setup code-server on Ubuntu on a digital ocean droplet

Posted October 7, 2020 1.5k views
NginxVS CodeUbuntu 20.04

As I was following the tutorial on the same topic at ( I tried to setup code server like they show on the main installation page on code-server ( Using the command code-server –help shows that the server is running.

I also installed nginx and use the setting shown on the installation page but when I try to access the page there is only a 403.

Is there any updated guide on how to setup code-server 3.5 that works?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hi there @ironyhAngler,

I could suggest following the steps from this answer here:

The only thing that you would need to change is the wget command and specify the version that you need to install.

Another thing that you could try is to use the 1-Click installation available on the DigitalOcean Marketplace:


by Savic
In this tutorial, you will set up the code-server cloud IDE platform on your Ubuntu 18.04 machine and expose it at your domain, secured with free Let's Encrypt TLS certificates. In the end, you'll have Microsoft Visual Studio Code running on your Ubuntu 18.04 server, available at your domain and protected with a password.