← All posts

Put Your AI Pages on Your Own Hosting

By TechGuyver · · 3 min read

▶ Read as story

You commented SETUP, so here is the setup. Every page your AI makes for you, a dashboard, a report, a small tool, can live on your own hosting. Open it from any device, hand it to any agent, and never move it again when you switch AI.

Why your own hosting

Built-in pages are handy until you have a lot of them

Claude Artifacts, ChatGPT sites and Grok Bot pages come free with your subscription and are great for a quick look. The more you use them, the more they get in the way:

  • They live inside one company’s app. Switch AI, or use two, and your pages are split across platforms.
  • Your agents can’t open them. An agent in another tool, or on another computer, can’t read the page you made yesterday.
  • Every account needs sharing again. Work across a few accounts or with a team, and each page has to be shared one by one.

Your pages are your work. Put them somewhere you control.

Setup 1: on one computer

Local pages with names you can remember

If you only work on one computer, host everything right there. Instead of localhost:4821 and a dozen numbers you will forget, give each page a name: http://dashboard.localhost:4800, http://sales.localhost:4801. Modern browsers send every *.localhost name to your own computer, so there is nothing to install or configure. Keep one list of names and ports, and your AI always knows where each page lives.

Setup 2: everywhere

Cloudflare’s free plan with your own login

If you want your pages on your phone, your laptop and for your agents anywhere, put them on Cloudflare Pages. Static pages are free. Then add Cloudflare Access in front of them, available on Cloudflare’s free Zero Trust plan, so only you, or the people you pick, can sign in. Agents get their own key. Put it all on your own domain and you are never locked into one vendor.

Want the full picture of what else runs on that same domain? Here is my whole Cloudflare setup.

The prompts

Paste one into Claude Code, or give it to your AI of choice

Setup 1, on your computer:

Set up local hosting for the pages and tools you build for me on this computer.
Serve each one at http://<name>.localhost:<port> with a short, clear name instead of a bare port.
Keep one list of every name, port and folder in a file, check it before picking a new port, and give me the link every time you build something.
Make each page reload by itself when you change it.

Setup 2, everywhere:

Help me put my pages on Cloudflare, step by step. I am not a developer.
1. Deploy [this page / this folder] to Cloudflare Pages on my domain [pages.mydomain.com].
2. Put Cloudflare Access in front of it so only [my email] can sign in, and create a service token my AI agents can use.
3. Tell me exactly what to click in Cloudflare, keep keys out of the code, and give me the live link when it works.
From now on, put every new page you make for me there.

The 3 steps

Twenty minutes, once

1. Pick your setup. One computer: Setup 1. Phone, laptop, team or agents in the cloud: Setup 2. Many people end up using both.

2. Paste the prompt. Into Claude Code, Claude or ChatGPT. Never used Claude Code? Start here.

3. Move your pages over. Ask your AI to copy the pages you already made out of Artifacts or ChatGPT into your new home, one message for all of them.

Running a business? Tell me about it and I'll send back what I'd do with AI. Free.