Getting started with NGINX

letsEncryptThis article describes how to install NGINX on Ubuntu 18.04 LTS.


SSH access

Start by accessing your Ubuntu Server using SSH and then run the following commands.

$ sudo apt update
$ sudo apt install nginx

 

Visit your website

You should now be able to visit your website using the IP address of your Ubuntu server (e.g. https://123.45.67.8.) At this stage you should see the following message:

 

Secure access

It is best practice to provide secure access to your website. I recommend installing certbot, so that you can use Let's Encrypt.

 

Thanks for visiting.