# Apache2 Server

Apache2 server is the best option when hosting files over the machine and here are the detailed steps to setup the apache2 web server on the internet.

```
sudo mkdir /var/www/html/share
sudo chmod 777 /var/www/html/share
sudo chown www-data:www-data /var/www/html/share

## Restarting the services
sudo systemctl restart apache2
```
