Why this matters
A website in a folder on your laptop is a draft. Putting it on the internet under your own name is where most do-it-yourself sites stall, because the vocabulary changes overnight: hosting, DNS, repositories.
Claude Code can run the technical commands and explain each in plain English. Going live, though, involves your domain, your accounts and your public face. A wrong DNS record can stop your email. So the rule is simple. You hold every login. You make every change at your domain company yourself. Claude Code prepares, explains and checks.
Before you start
This is an advanced course. It follows directly from “Building a business website with Claude Code” and needs that finished site folder. Claude Code must already be installed, as covered in “Setting up Claude Code on your computer”.
Terms, once each:
- Host. The company whose computers serve your website to visitors.
- Domain. Your address on the internet, rented from a domain company.
- DNS. The address book that tells the internet which host your domain points to. It also directs your email.
- Version control. A system that saves a snapshot of your project each time you tell it to. The standard tool is called Git.
- Repository. A project folder that Git is tracking.
Safety for this course:
- Back up first. Copy the whole website folder somewhere safe before you start.
- Never give it credentials it does not need. You create the accounts and sign in yourself, in your own browser. Never type a password into Claude Code. DNS changes are made by you, by hand.
- Review before approving. Stay in the default mode, where Claude Code asks before it edits files or runs commands.
- No customer personal data, passwords or confidential figures in the folder. Anything in it may end up in the repository.
Start Claude Code from inside your website folder: cd to the folder, type claude and press Enter.
Step 1: Choose where the site will be hosted
Your site is a static site: plain files with no database. Netlify, Cloudflare Pages, Vercel and GitHub Pages are well-known hosts for this. You connect the host to your repository and each time you save a new version, the host publishes it.
I am not going to tell you which to pick. Neither should Claude Code. Plans, prices and features change. Write down what your site needs and compare two or three hosts against that list on their own websites.
Before prompting, press Shift+Tab until the bottom line reads “plan mode on”. In plan mode Claude Code reads and reports without changing anything.
Read this project, including brief.md and CLAUDE.md. I am choosing where to host this website.
1. Find everything in the site that depends on the host: the enquiry form placeholder, any redirects, anything else.
2. Write me a checklist to compare hosts against. Include: publishes from a repository, lets me use my own domain, provides a secure https connection, handles my enquiry form or works with a form service, lets me go back to an earlier version.
3. List what I should check about cost, such as what would trigger a charge.
Rules:
- Do not recommend a host. Do not state any host's prices, limits or features. I will read them at the source.
Tick the checklist off yourself on the hosts’ own websites. Decide whether the form will be handled by the host or by a separate form service. Wherever the form sends data, your privacy notice must say so.
Then create your account with the chosen host yourself, with a unique password and two-step sign-in if offered.
Worked example. A dog groomer in Harrogate ran this prompt on her six-page site. The report found two things that depended on the host: the enquiry form placeholder and an old address, “/prices.html”, that her printed leaflets still pointed to. It would need a redirect. Her checklist gained a line, “supports simple redirects”.
What good looks like: a written checklist, one host chosen by you against it and a decision on where the form’s messages will go. Step 2 protects the site before any of it leaves your computer.