>_ IzzyLab

Hands-on task

This task is step 6 of the course “Platform intro”

Site: your own page

easy~7 min

The nginx web server is already running on this server, but its page is a placeholder. Open the Site tab above the terminal: that's how this server's site looks in a browser.

Edit /var/www/html/index.html in the editor so the heading becomes <h1>My first page</h1>. Save the file, press Reload on the Site tab and look at the result.

What you'll practise:
  • VS Code editor
  • nginx
  • site preview

Topic breakdown

The Site tab shows what the server serves on port 80, as if you opened it in a browser. It comes in handy when you set up a web server or edit pages.

What's checked

  1. The site shows "My first page"

What it looks like