Skip to main content
Deploy a simple static website on a Vers VM using nginx. You’ll create a VM, install nginx, write an HTML page, and see it live — all in a few minutes.

Prerequisites

Step 1: Create the project

Create a new folder for your project if you don’t already have one.

Step 2: Launch the VM

Verify it’s running:
You should see your VM in a Running state.

Step 3: Connect and install nginx

Inside the VM:

Step 4: Create your static site

Still inside the VM, replace the default nginx page with your own HTML:

Step 5: Start nginx and verify

You should see the first few lines of your HTML. Now exit the VM:

Step 6: View it in your browser

Your site is live at:
Replace <vm-id> with your VM’s ID (shown in vers status). Vers terminates TLS at the proxy, so your VM serves plain HTTP but browsers see HTTPS — no cert setup needed.
If your VM ID is vm-abc123, the URL would be https://vm-abc123.vm.vers.sh. Port 80 is one of the default routed ports.

Step 7: Make a change

Connect back to the VM and update the page:
Refresh your browser — the change is instant. No build step, no deploy pipeline. Exit when done:

What you learned

  • Creating a Vers VM and connecting via SSH
  • Installing and running nginx inside a VM
  • Serving a static HTML page accessible over HTTPS
  • Making live edits to a running site

Next steps