Step 5 — Enable the site
Link the site into sites-enabled:
sudo ln -s /etc/nginx/sites-available/ai-notes-xyz /etc/nginx/sites-enabled/ai-notes-xyz
If the default nginx page is in the way, you can remove it:
sudo rm -f /etc/nginx/sites-enabled/default
Point your domain’s DNS A record at this server’s public IP.
Screenshot
Step 5 — add later: /img/selfhost/ubuntu-nginx-cloud/05-enable-site.png
Back: Step 4