Simple steps to create a static website

To create a static website, just need to

1) create index.html in /var/www/websitename/pubic (can keep the permission to root).

2) add virtual host config to the available site in /etc/apache2/sites-available/

3) restart apache

sudo a2ensite your-site.conf

sudo systemctl reload apache2