Where Should I Host an HTML Page or Site My AI Agent Made?
Display is our product. This page sends you to a different host in two of three cases, and says so. We checked the vendor facts on each vendor's own pages on 14 October 2026.
Display is our product. This page sends you to a different host in two of three cases, and says so. We checked the vendor facts on each vendor's own pages on 14 October 2026.
Three questions pick the host
- How many files did the agent make? One file, or a folder?
- Does it run code on a server or use a database? A page that needs only a browser is static. An app with a sign-in, an API or stored data is not static.
- Who must open it? Anyone on the internet, your colleagues, or people you invite by email?
The first two answers pick the type of host. The third answer picks the protection.
Decision table
| What the agent made | Examples | Where to host it | Who can open it by default |
|---|---|---|---|
| One HTML or Markdown file | A report, a specification, a diagram, a dashboard in one file | Display, or any static host for a public page | Display: you choose public, company, private or invited email addresses |
| A folder of static files | A built site, a Storybook, a landing page, a prototype with assets | Netlify Drop, Cloudflare Pages, GitHub Pages | Public, until you add protection |
| An app with a server or a database | A Next.js app, an API, a tool with accounts | Vercel, Railway, Render | Depends on the platform and your settings |
One HTML or Markdown file
Most agent output is a single file. Cursor, Codex and Claude Code write a self-contained report or page to disk. A site is more than that file needs.
Publish it as a document. With Display, ask your agent to publish the file to Display for your company. You get a URL. People in your company sign in to open it. You can also choose public, private or specific email addresses. The agent can publish a new version at the same URL, and it can read the comments that reviewers leave. People with edit access can fix a line on the page. Every plan has unlimited viewers. A file can be 10 MB on Free and 50 MB on paid plans.
Display opens each HTML or Markdown file as its own page. Its Spaces and folders organize those pages and store other files, such as images, PDFs and data files. You and your agents can search every doc you can open. For a site with many linked pages, use a static host.
For a public single page, a static host also works. The next section names three.
A folder of static files
When the agent builds a site with several pages, images and scripts, you need a static host. These three take a build folder.
- Netlify Drop. You drag a build folder into the browser. The Netlify guide tells you to unzip a project ZIP file first. Read the Netlify drag-and-drop guide.
- Cloudflare Pages. Run
npx wrangler pages deploy <folder>, or use drag and drop in the dashboard. Wrangler accepts up to 20,000 files of up to 25 MiB each, and it does not accept ZIP files. Read the Cloudflare direct upload guide. - GitHub Pages. It serves static files from a repository. Read the GitHub Pages guide.
All three are public until you add protection:
- Cloudflare says that preview deployments are public by default. Its access policy for a Pages project protects the preview URLs, not the production domain.
- GitHub says that a Pages site is publicly available on the internet even when its repository is private. For a private alternative, read Can GitHub Pages be private?.
- Netlify has password protection on Pro plans, and team login on Enterprise plans.
An app with a server or a database
If the agent wrote a server, an API or code that stores data, a static host cannot run it. Use an app platform.
- Vercel deploys from the CLI with
vercel. Vercel Drop deploys a file, a folder or a ZIP file that you drag into the browser. Read thevercel deployreference. Standard Protection protects every deployment except the production domains. All Deployments protects every URL. Vercel Authentication is on every plan, and it admits only Vercel users with access. Password Protection costs $20 a month per project on Pro. Sign-in through your own identity provider (Passport) is an Enterprise feature. SAML single sign-on for your Vercel team costs $300 a month on Pro. It controls sign-in to Vercel, not to your site. - Railway deploys a service from a code repository or a Docker image. Read the Railway basics.
- Render hosts dynamic web apps, such as Express and Django, at a public URL. Read the Render web services guide.
These platforms need a repository, environment variables and a plan for secrets. Display publishes files, not builds.
Which one holds private documents
If the output is a document for colleagues, a site host adds work. You need a project, a domain and a protection step. A public address with a long name is not access control.
| Need | Static host with protection | Display |
|---|---|---|
| Colleagues open it with their Google or Microsoft account | Cloudflare Access, Netlify team login (Enterprise), Vercel Passport (Enterprise) | Google or Microsoft sign-in on Solo and higher plans. A one-time password (OTP) on every plan |
| One outside reader by name | A shared password, or an access policy | Invite the email address and give the reader a role, such as Viewer or Commenter. The reader signs in with an OTP, Google or Microsoft |
| The agent updates the page | A new deploy | Tell the agent to update the page. It stays at the same URL |
| Reviewers comment on the page | Not part of the host | Comments on the page. The agent reads them and resolves them |
| A folder of files | Yes | One page for each file. Folders also store images, PDFs and data files |
When another tool is better
- Use a static host when the output is a folder: a built site, a Storybook or a prototype with many pages.
- Use an app platform when the output has a server.
- Use Chromatic for a Storybook when you want versions and reviews for components.
- Use GitHub Pages for public project documentation.
- Use Display when the output is one document for colleagues or invited people. Display also fits when an agent must update the document and read the comments.
FAQ
Where should I host an HTML file from Cursor, Codex or Claude Code?
If it is one file, publish it as a document with Display. If it can be public, any static host also works. If it is a folder, use Netlify Drop, Cloudflare Pages or GitHub Pages.
Can I host an AI-generated site for free?
Static hosts have free plans, and their limits change. Check the pricing page of each vendor. The Display Free plan gives 3 gated artifacts and unlimited public artifacts, with one file in each.
Does Display host folders or apps?
Display opens each HTML or Markdown file as its own page. Its folders organize those pages and store other files, such as images, PDFs and data files. Internal apps are in private beta. For an app with a server, use an app platform.
How do I keep an AI-generated page private?
Choose a host that checks access on the server. When you sign in before you publish, Display publishes as Private by default. On a static host, add Cloudflare Access, Netlify protection or Vercel protection. A JavaScript password prompt does not protect the files.
Is a long URL that nobody can guess private enough?
No. One forwarded link gives access to everyone who gets it. Use sign-in.
Which host fits a vibe-coded site?
It depends on the output. A static export fits Netlify, Cloudflare Pages or GitHub Pages. An app with a backend fits Vercel, Railway or Render. To compare the levels of access, read What is private HTML hosting?.
A full workspace behind every URL
Share with your team and clients
Invite people by email and give each one a role.
Go back to any version
Each publish and each edit saves a version. The link stays the same.
A Space for each team
Spaces and folders for each team and each client.
Search for people and agents
You and your agents search every doc you can open.
See who opened it
Each doc shows who opened it, and when.
Private betaInternal apps that get data from your sourcesConnectors for the tools your team uses
A URL for everything your agents make
Any agent, any model. Behind your company’s sign-in, at one flat price.
Free to start · Unlimited viewers