Hi @hannah. You are right, you need to use a webserver. Let me give you an example of how you can use Nginx. Follow these steps:
1. Install Nginx
sudo apt-get update
sudo apt-get install nginx
2. Move your static webpage content to the Nginx server.
Create a directory in /var/www/example.com
Move all the contents into this example.com file.
Now you'll need to tell your Nginx about yours website
3. Configure you Nginx server, something like this:
server {
listen 80 default_server;
listen [::]:80 default_server; root /var/www/jgefroh.com; index index.html; server_name jgefroh.com www.jgefroh.com; location / {
try_files $uri $uri/ =404;
}
}
4. Now restart your Nginx server.
sudo systemctl restart nginx