Ubuntu – Adding virtual host
sudo mkdir -p /var/www/example.com/public_html sudo chown -R $USER:$USER /var/www/example.com/public_html sudo chmod -R 755 /var/www nano /var/www/example.com/public_html/index.html sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/example.com.conf sudo nano /etc/apache2/sites-available/example.com.conf ServerAdmin [email protected] ServerName example.com ServerAlias www.example.com DocumentRoot … Read More