← All posts

Stop Wasting Time on Setup: Deploy a Live Hugo Site in 60 Seconds

August 14, 2026 · 5 min read · The xShellz Team

TL;DR

  • Install Hugo with a single click from the xShellz dashboard and have a working dev server on port 8080 within seconds.
  • Run all Hugo commands (hugo new site, hugo server) inside a persistent Ubuntu 24.04 LTS sandbox with zero setup.
  • Publish a frozen, malware-scanned static version of your site to https://.turborg.com in one step.

To deploy a Hugo static site without setting up a server, use xShellz one-click Hugo app inside an Agent Shell box. Log in, click install, Hugo is ready to serve on port 8080. Customize from the built-in terminal, then publish the static build to your permanent subdomain. The whole process takes about 60 seconds.

We run this same workflow on our own fleet: every xShellz box ships with a terminal and one-click apps so you can spin up production sites without ever touching a traditional VPS.

How can I quickly deploy and host a static site like Hugo without setting up a whole server?

You use an Agent Shell box from xShellz, a hardened Ubuntu 24.04 LTS sandbox that runs 24/7 with zero idle timeout. The box gives you root, a web terminal, and SSH access. No need to install a web server, configure a firewall, or wrestle with init scripts. Click the Hugo app once and it appears on port 8080. Make your site, preview it live, and when you are done, hit Publish to freeze and serve it at your personal subdomain. This all happens within the box, which you can reach via ssh -p <port> root@<host> (SSH is pre-configured, no key setup required). The box remains always-on, even the free tier, so your terminal session can end while Hugo keeps serving.

how to deploy a hugo site quickly

The entire sequence from an empty box to a live preview takes five commands, all run inside the box after you click Hugo in the one-click apps list. Git is already installed and the box ships with Node 22 and build-essential, so theme submodules and Hugo’s extended build just work.

# Create a site skeleton
hugo new site myblog
cd myblog
# Add a theme (example: Ananke)
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke themes/ananke
echo 'theme = "ananke"' >> hugo.toml
# Start the dev server on the box’s published port
hugo server --bind 0.0.0.0 --port 8080

Now open the box’s public URL on port 8080 to see the site. Edit content files or configuration inside the box using the built-in nano or vim editor, then rebuild and preview again. No local Node setup, no third-party host.

one-click cms install xshellz

Hugo is one of 23 one-click apps available in an xShellz box, alongside WordPress, Drupal, Ghost, Statamic, Eleventy, Next.js, and others. Each app installs into the box instantly when you click it; there is no apt command, no package search, and no version mismatch to debug. The box runs a real Ubuntu 24.04 LTS environment (see the Ubuntu release cycle) and all apps are tested against that image. Because the root filesystem is rebuilt on image updates, only /root is persistent; the one-click apps are reinstated automatically on every boot, so your environment stays consistent.

The Agent Shell box itself is always-on, even the free plan, meaning Hugo keeps previewing until you shut it down. Get a box at xshellz.com/agent-shell.

how to publish a static site to a subdomain

Inside the xShellz dashboard, find your Hugo app and click Publish. The system runs a full static export, scans the output for malware, and serves the result directly from the subdomain https://.turborg.com. There is no DNS configuration, no SSL provisioning, and no nginx block to write. The published site is a frozen snapshot, so visitors see a fast, secure static site while the box continues running whatever you have on port 8080. If the box is destroyed, the published subdomain remains live.

can I host a hugo site on a disposable sandbox

Yes, and that is one of the model’s strengths. Spin up a box, one-click install Hugo, build the site, publish it, and then stop or delete the box. The published static files live at the subdomain independently. The box’s filesystem is ephemeral beyond /root, so there is nothing to clean up. Stopped boxes are kept for 30 days before removal, giving you time to revisit if you need to make a small fix before publishing again.

how much does hosting a small static site cost

As of August 2026, the free xShellz plan includes an always-on box, all 23 one-click apps, and publishing for static sites. No credit card is required and there is no trial countdown. The box keeps running 24/7 with no idle shutdown, so you can leave the Hugo dev server on and come back later without a cold start. Larger sites that need more CPU or storage can move to a paid plan; see the pricing page for the latest tiers. For a typical Hugo blog, the free tier covers everything.

Frequently asked questions

Does the box include Git for pulling Hugo themes?

Yes, Git is preinstalled on every Agent Shell box along with Node 22, Python 3, ripgrep, and other developer tools. After the one-click Hugo install, you can immediately clone theme repositories or add submodules without installing anything extra.

Can I use a different static site generator instead?

Absolutely. The one-click catalog includes Eleventy, Next.js, Nuxt, VitePress, Docusaurus, and others. Each works the same way: click install, serve on port 8080, and publish to your subdomain when ready.

Is the published site updated when I rebuild and republish?

Yes. Make your changes inside the box, run a fresh build, and click Publish again. The new static snapshot overwrites the previous one on your subdomain, and the malware scan runs before the new version goes live.