How to host a website you built with Claude
Claude gives you files, not a live site. Upload them to PageHub and every page opens in a visual editor, ready to publish on your own domain with HTTPS.
The short answer
- Claude doesn't host a site on your domain. An artifact lives on a claude.ai link, and Claude Code leaves a folder on your computer.
- Static hosts such as Netlify, Cloudflare Pages, Vercel, and GitHub Pages serve those files as they are. To change the site, you change the files.
- PageHub imports the folder or .zip as an editable site instead: one page per .html file, images in your media library, and redirects from the old .html addresses.
- Then attach your domain, add the DNS records at your registrar, and SSL is issued automatically. The free plan includes 1 published site on your own domain.
What Claude actually gives you
Claude makes the files. It doesn't give you a website on your own address.
Claude chat
An artifact: one HTML file. Publish it and you get a claude.ai link to share.
Claude Code
A project folder on your computer. Plain HTML, or an app (React, Vite) you build first.
Claude Design
A design you export: Download as .zip, or Export as standalone HTML.
To be a real site, those files still need:
- Your own domain, with HTTPS on it
- Forms that save what visitors send
- A way to change a phone number without asking an AI or editing code
- Old links that keep working when page addresses change
Ways to host it, side by side
Checked October 15, 2026. Prices are USD. Where a vendor only shows its yearly-billing price, that's the price listed.
| Builder | How the files get there | Your own domain + HTTPS | More than one page | Edit without code or AI | Forms | Cost to start |
|---|---|---|---|---|---|---|
| Leave it as a Claude artifact | Click Publish in claude.ai (Free, Pro and Max plans) | No. It stays a claude.ai link. | One artifact | No. Changes go back through Claude. | No | Free |
| Netlify Drop | Drag a folder to app.netlify.com/drop (unzip a .zip first) | Yes, with SSL, on the free plan | Yes, every file in the folder | No. You change the files and drop them again. | Yes: turn on form detection and add a netlify attribute to each form | Free plan, 300 credits a month |
| Cloudflare Pages | Drag a folder or .zip: up to 1,000 files, 25 MiB each | Yes, up to 100 per project on the free plan | Yes, every file in the upload | No. You change the files and upload again. | None built in | Free plan |
| Vercel | Drag files, a folder or a .zip to vercel.com/drop | Yes, up to 50 per project on Hobby | Yes | No. You change the code and deploy again. | None built in | Hobby is free, for personal, non-commercial use only |
| GitHub Pages | Push the files to a GitHub repository | Yes, with free HTTPS from Let's Encrypt | Yes | No. You change the files in the repo. | None. It serves static files only. | Free, but not for running an online business or store |
| Wix | Folder upload (3 MB a file, 20 MB total), Send to Wix from Claude Design, or Claude Code | Yes, on a paid Premium plan | Send to Wix deploys one page. More pages need a deploy from your project. | No. Wix's docs say there's no Wix editor for these sites. | Yes, Wix Forms, added by your coding agent | Free on a Wix address |
| PageHub | Drop a folder or .zip (up to 50 MB), or ask Claude to send it | Yes, with SSL. 1 published site on your own domain on the free plan. | Yes, one page per .html file. 5 pages per import on Free, 50 on Pro. | Yes, in the visual editor. Claude can keep editing too. | Yes, built in. 500 submissions a month on Free. | Free plan. Pro is $7 a month per site. |
- Leave it as a Claude artifact: Claude Help: share artifacts
- Netlify Drop: Netlify Drop · Netlify pricing · Netlify Forms setup
- Cloudflare Pages: Cloudflare: direct upload · Cloudflare Pages limits
- Vercel: Vercel: Claude Design to Vercel Drop · Vercel Hobby plan
- GitHub Pages: GitHub Pages limits · GitHub Pages HTTPS
- Wix: Wix: host a site built with Claude · Wix: send a Claude Design to Wix · Wix: headless pricing
- PageHub: PageHub pricing · PageHub import guide for agents
Three ways to get it onto PageHub
Each way makes a new draft site with one page per .html file. Nothing goes live until you publish. HTML import works on every plan: Free imports up to 5 pages, Pro up to 50.
1. Upload the folder in the dashboard
- Open /start/import/html and sign in to PageHub (free, no credit card).
- Drop the folder that holds your
index.html, or a.zipof it, up to 50 MB. - Review the pages. Pick the home page and uncheck any you don't want.
- Click Import. The site opens in the visual editor as a draft.
From Claude Design, use Export → Download as .zip and drop the zip. For an artifact, save its code as index.html and drop that.
2. Ask Claude Code to send it
Add PageHub to Claude Code once:
claude mcp add --transport http PageHub https://pagehub.dev/api/mcp
Start Claude Code, type /mcp, pick PageHub, and sign in through the browser window that opens. Then, in your project folder:
Import this site into PageHub as a new site. Follow https://pagehub.dev/skill.md. If it's a React or Vite app, run the build first and import the output folder. Give me the editor and preview links when it's ready. Don't publish yet.
Claude Code zips the folder, gets an upload link from import_site, uploads the zip, and checks get_import_status until the site is ready. The skill.md guide tells it how, including when to build first.
3. Import an artifact from a Claude chat
In Claude on the web or desktop, open Settings → Connectors, click Add custom connector, name it PageHub, and paste https://pagehub.dev/api/mcp. Click Connect and sign in. Then, in the chat that has your artifact:
Import this artifact into PageHub as a new site called [site name]. Give me the editor link when it's ready. Don't publish yet.
Claude sends the files straight from the chat with import_site. This way takes text files up to 3 MB in total, which fits a typical artifact. Images linked from the web are copied into your site's media library.
Put it on your domain with HTTPS
- Open the Domains page for your site in the dashboard, or ask Claude: “Connect [example.com] to this site and tell me the DNS records to add.”
- Add the records where you bought the domain. The bare domain gets an A record at
@,wwwgets a CNAME, and sometimes there's a TXT record to prove you own the domain. Copy each value exactly as PageHub shows it. - PageHub sets up example.com and www.example.com. SSL certificates are issued automatically and can take a few minutes once DNS is in place.
- Publish. Connecting a domain doesn't publish the site, so click Publish in the editor or tell Claude “Publish the site.”
The free plan includes 1 published site on a domain you own. You buy the domain from a registrar, usually $10–20 a year.
What breaks when you host a Claude site
The page is blank because JavaScript draws it
A React or Vite project's source is an empty <div id="root"> until it's built. PageHub spots those pages and tells you to run npm run build and upload the output folder instead.
Links and images point at files that moved
Links between your pages are rewritten to the new page addresses, and images go into your media library. Anything linked but missing from the upload is listed, so you know what to add.
Tailwind styles vanish
Classes from the Tailwind CDN are kept, and PageHub compiles them itself. Colors and fonts from an inline tailwind.config become theme colors and fonts you can change in Design System.
Old .html addresses stop working
Each page gets a redirect from its old address, such as /about.html to /about, so shared links keep working on your domain.
The contact form goes nowhere
A form in your HTML becomes a PageHub form, so submissions are saved to your account instead of disappearing.
The header and footer are copied onto every page
When pages share the same header and footer, PageHub turns them into one shared header and footer. Edit the menu once.
Questions about hosting a Claude site
What people ask before they move a Claude-built site to their own domain.
Put your Claude site on your domain
Free plan, 1 site on your own domain. No credit card.
Claude is a trademark of Anthropic, PBC. PageHub isn't affiliated with or endorsed by Anthropic. Netlify, Cloudflare, Vercel, GitHub, and Wix are trademarks of their owners.