How to setup and deploy a website on Ubuntu Server 16.04/18.04 and Install Free SSL Certificates
Before going to set up and deploy a website on any hosting server, you need to register a domain for your website. There is various domain registrar available in the market to register a domain. For more information, you can visit the below links: Bluehost HostGator GoDaddy Namecheap NOTE: To set up and deploy a website on Linux Ubuntu Server, you need to install the following packages: Apache/Nginx Note: In order to run below commands to set up and deploy a website, you need root access to the server. Let’s Begin to set up a website “example.com” Step 1: First, create example.com.conf file on below location: / etc / apache2 / sites - available Copy Step 2: To create/edit the above file, please execute below command: $ sudo nano / etc / apache2 / sites - available / example . com . conf Copy Step 3: Paste below content in this file: < VirtualHost * : 80 > # The ServerName directive sets the request scheme , hostname and port that # the server uses to...