Here is the link to the vide.
I forgot to tell you one important thing. You can access your code-server from any
browser without even ssh'ing into your remote server.
You need to change the
bind-addr in your config file which is located at
bind-addr: 0.0.0.0:8000 auth: password password: SECRET_PASSWORD cert: false
0.0.0.0 indicates that you can access using your localhost as weel as the public
IP Address of your remote machine.
So basically, it means you can use either
localhost:8000 (With port forwarding) or
divcorn.com:8000 (without port forwarding).
It basically says that the traffic is only accessible from your local machine.
It basically says that the traffic is accessible from your local machine as well as
public ip address.
That's a good question, you can achieve it from one of the following ways.
When we enter the address of a website, our web browser tries to conect to port 80 by default, that means
divcorn.com:80 are the same.
0.0.0.0:8000, you can use
0.0.0.0:80 then run it
⚠️ Make sure to stop other services (if any) which are running on port 80.
Many times you might be using you port 80 for your website hosting (if any).
In those cases we can add a
CNAME record from our domain's DNS management console.
Which is pointing to
@ or your public ip address and value will be a string example
code. Then we can create a nginx config file where we will listen at port 80 from the
code.divcorn.com and use the reverse proxy to direct the traffic from port 8000 to
the port 80 with
If you want a video on it, please make sure to tell me.