<!-- Free Static Website Hosting with CLI & MCP | Demox -->
Source: https://www.demox.site/

Static sites and Node functions

# Deploy AI-generated websites in seconds

**Direct answer:** Demox is a free static website hosting platform for AI-generated websites. Deploy HTML, ZIP, React/Vue/Vite build output, PDF or Markdown through drag-and-drop, CLI or MCP and instantly get a public HTTPS URL. No Git and no server setup.

[Upload and publish](https://www.demox.site/console/projects) · [See if it fits](https://www.demox.site/when-to-use-demox)

## What is Demox?

Demox is a hosting platform for static websites and small Node functions. You upload files. You get a shareable HTTPS URL. You do not rent a server, issue a certificate, or configure a CDN by hand.

Use it for frontend demos, AI-generated HTML, review links, and document pages. Use it for Node backends only after they export `handler(request, env)`. Demox does not replace a full CI/CD platform.

## How do you deploy a static site?

1. Build or export the site so the root folder contains `index.html`.
2. Sign in at [www.demox.site](https://www.demox.site/) or with the Demox CLI.
3. Upload the folder in the console, or run `demox deploy ./dist`.
4. Open the HTTPS URL in a private window and confirm the page loads.

The same flow works for a single HTML file, a ZIP, and PDF, Markdown, TXT, or DOCX files. CLI, MCP, and the web console all publish to the same site.

## What can you host, and what should you skip?

Good fits include AI HTML, React or Vue dist folders, ZIP archives, and documents. Good fits also include Node handlers that you push with `demox functions push`.

Skip Express apps that call `listen`. Skip Python, PHP, and Java services. Skip apps that must keep a private database socket open. Those need another host, or you must rewrite the backend first. See [when to use Demox](https://www.demox.site/when-to-use-demox).

## How Demox hosts itself

Updated 14 September 2026. The public site is a normal Demox site. Pages ship with `demox deploy`. Auth, website, MCP, and certificate jobs ship with `demox functions push`. That case study is on [how Demox hosts itself](https://www.demox.site/how-demox-hosts-itself).

The CLI needs version 1.1.6 or later for functions, env, and alias. Four platform functions share the same site: auth, website, MCP, and cert-renew. Source is on [GitHub](https://github.com/demox-site/demox) and in the [Node.js API docs](https://nodejs.org/docs/latest/api/).

## Key terms

**Demox**
: A host for static websites and small Node functions, with HTTPS and a CDN included.

**handler(request, env)**
: The Node function export Demox runs. It is not an Express `listen` server.

**demox deploy**
: The command that uploads HTML, a dist folder, or a ZIP and returns a public URL.

## Frequently asked questions

### What is Demox?

Demox is a host for static websites and small Node functions. Upload HTML, a ZIP, or a dist folder. You get a public HTTPS URL on a CDN.

### How do I deploy a static site?

Put index.html at the root of the folder or ZIP. Log in, then upload in the web console or run demox deploy ./dist.

### Can I run Express, Python, or PHP?

Not as-is. Rewrite a Node backend as handler(request, env) and push it with demox functions push. Python, PHP, and Java need another host.

### Does Demox replace Vercel or Netlify?

No. Demox is for fast public links and small Node functions. It does not claim to replace a full CI/CD platform.

### Where is the privacy policy?

Read https://www.demox.site/privacy. Login uses essential cookies. Demox does not sell personal data. Contact phosa@qq.com.

## 免费静态网站发布平台，支持 CLI 和 MCP

将 AI 生成的 HTML、ZIP、React/Vue/Vite 构建产物一键发布为公网网站，无需 Git，无需服务器配置。网页端拖拽，终端用 `demox deploy`，AI 助手走 MCP。Python、PHP、Java、Express listen 不是直接适配。

## Guides for specific deploy jobs

- [Free static website hosting with CLI and MCP](https://www.demox.site/free-static-site-hosting)
- [Deploy AI-generated websites in seconds](https://www.demox.site/ai-website-deployment)
- [Deploy a website from MCP](https://www.demox.site/mcp-website-deployment)
- [Deploy a static site from the CLI](https://www.demox.site/cli-static-site-deploy)
- [You have an AI-generated page. How do you publish it?](https://www.demox.site/deploy-ai-generated-website)
- [Deploy a website from Claude Code](https://www.demox.site/claude-code-deploy-website)
- [Deploy a website from Cursor](https://www.demox.site/cursor-deploy-website)
- [Deploy a website from Codex](https://www.demox.site/codex-deploy-website)
- [Free hosting for a single HTML file](https://www.demox.site/free-html-hosting)
- [How do you deploy a dist folder?](https://www.demox.site/deploy-dist-folder)
- [How do you deploy a Vite app?](https://www.demox.site/deploy-vite-app)
- [How do you deploy a React build?](https://www.demox.site/deploy-react-build)
- [When is Demox an alternative to Netlify Drop?](https://www.demox.site/netlify-drop-alternative)
- [When is Demox an alternative to Surge?](https://www.demox.site/surge-alternative)
- [When is Demox an alternative to Vercel for static sites?](https://www.demox.site/vercel-alternative-for-static-sites)

[Privacy Policy](https://www.demox.site/privacy) · [Cookie policy](https://www.demox.site/privacy#cookies) · [Terms of Service](https://www.demox.site/terms) · [About](https://www.demox.site/how-demox-hosts-itself) · [Contact phosa@qq.com](mailto:phosa@qq.com) · [GitHub](https://github.com/demox-site/demox)

Demox uses essential cookies for login. It does not use advertising cookies and does not sell personal data. Read the [cookie policy](https://www.demox.site/privacy#cookies) for data handling and retention.
