I found this guide[1] helpful in setting up a basic server to serve
static web pages. Here is a basic summary of the first steps.

Install Apache.

$ sudo apt install apache2

Configure the firewall.

$ sudo ufw enable
$ sudo ufw allow 'Apache Full'

Determine your IP address.

$ hostname -I

In your browser, go to

http://[your ip address]

and you should see Trisquel's default Apache page. To modify this page,
edit "/var/www/html/index.html".

[1] 
https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-16-04

Attachment: signature.asc
Description: PGP signature

Reply via email to