Guide
Build a website with Claude and put it live on UK hosting
You can build a website with Claude by describing what you need, letting it write the code, checking the result, and uploading the built files to web hosting. Claude in a chat window gives you code to copy. Claude Code works in a folder on your computer and edits the files directly. Either way, a simple static or Astro site runs well on ordinary shared hosting, and you still need a domain, hosting and your own review before launch.
The short version
What building a website with Claude really means
Plenty of people now ask an AI assistant to build their website. Some call it vibe coding: you describe the result you want in plain English, the assistant writes the code, and you steer by asking for changes. It is a real way to get a site made, and for a small business with a clear idea it can be quicker than learning a website builder or waiting for a developer.
It is not magic, though. The assistant writes files. Someone still has to decide what the site is for, supply the real wording and photos, look at the result on a phone, and put the finished files somewhere visitors can reach them. That somewhere is web hosting, and the address people type is a domain name. If you are new to those terms, our guide on how to start a website in the UK explains the parts.
This guide covers the whole route in order: the two ways to use Claude, which kind of site to ask for, a realistic sequence from idea to live site, example prompts, the checks worth doing before launch, and what it costs to run the result on UK hosting.
The tools
What you will meet along the way
Claude
Writes the pages, styles and scripts from your brief. Use the chat for one-off pages or Claude Code to work on a whole project.
Astro
A popular choice for content sites. It turns your project into plain static files that any web host can serve.
Plain HTML and CSS
The simplest result. A few files that open in any browser and need no build step at all.
Git
Keeps a history of every change, so you can undo a bad idea from the assistant.
GitHub
A free place to store your project and share it between devices or people.
WordPress
The option when other people need to edit the site through a login, without touching code.
Two ways to use it
Claude chat or Claude Code?
Claude in a chat window
- You describe the site and it writes the code in the conversation
- You copy the files into a folder yourself
- Good for a one page site or a quick prototype
- You test by opening the files in your browser
- Nothing on your computer changes unless you paste it
Claude Code
- It works inside a project folder on your computer
- It creates and edits the files directly
- Good for multi page sites that grow over time
- It can run the build command and read the errors
- Changes are real files, so keep a backup or use Git
Choosing
Which one should you start with?
If you have never touched code and want a single landing page, the chat window is the gentlest start. You see the code appear, ask for changes in ordinary sentences, and save the result as a few files. There is nothing to install.
If you want a proper site with several pages, a menu that is the same on every page, and the ability to add a page next month, Claude Code is a better fit. It keeps the whole project in view, so a change to the header is made once and appears everywhere. You do need to be comfortable running a few commands in a terminal, or willing to follow along while it explains each one.
Neither option changes what the hosting needs to do. Both end with a folder of built files that gets uploaded to your account.
The route
From idea to live website in six stages
- BriefPurpose, pages and real content
- GenerateClaude writes the first version
- ReviewRead it, test it, fix it
- BuildCreate the static files
- UploadSend them to your hosting
- LaunchPoint the domain and test
Stage 1
Write a brief before you write a prompt
The quality of what Claude builds depends mostly on what you tell it. A vague request such as "make me a website for my business" gets a generic result with invented text. A good brief names the business, the town you serve, the pages you need, the one action you want visitors to take, and the facts that must appear exactly as written, such as prices, opening hours and your phone number or email address.
Gather your real material first: a few sentences about what you do, three to five photos, your contact details and any legal details a UK business must show. If you are a limited company, that includes the registered name, number and registered office. Our guide on what to put on a UK business website lists the usual items, and it is general information rather than legal advice.
Decide the pages too. Four good pages, usually Home, Services, About and Contact, beat a dozen thin ones. You can add more once the first version is live.
Prompts that work
Example prompts and why they work
| Prompt | What it asks for | Why it helps |
|---|---|---|
| "Build a four page static site for a plumber in Leeds with Home, Services, About and Contact pages." | A clear structure and a real context | Claude knows the business type, the place and the pages, so the layout and wording fit |
| "Use plain HTML and CSS, no frameworks, and keep every page under 200 KB." | A simple technology and a size limit | Plain files are easy to host and fast to load |
| "Use Astro and tell me the build command and which folder to upload." | A named tool and the deployment details | You get the exact steps for the hosting stage |
| "Add a contact form that posts to a PHP script, and explain how to stop spam." | A working feature with a security note | Forms need server code, and spam protection should be planned in |
| "Check the site for accessibility problems and missing alt text, then fix them." | A review pass over its own work | Asking for a second look catches common mistakes |
| "List every external service this site loads and why." | A dependency audit | You find out what runs on your pages before visitors do |
Prompts are a starting point. Adjust the wording to your business, and give Claude your real text rather than letting it invent claims.
Stage 2
Which kind of site to ask for
Claude can produce many kinds of site, and the choice decides how easy hosting will be. The simplest is plain HTML, CSS and a little JavaScript. A step up is a static site generator such as Astro, which builds your pages into ordinary files ahead of time. Both produce a folder of files with no database and no program running on the server, which makes them quick, cheap to host and hard to break.
Heavier choices exist: a WordPress site, or an app that needs a running Node.js process. Our plans support those as well, because Node.js, Python and Redis are available on every plan, and we cover the options in which stack to ask Claude for. For a brochure site, a local business or a portfolio, static is usually the right answer, and it is where we would start.
Why static suits shared hosting so well: there is nothing to keep running. Visitors receive finished files from a LiteSpeed web server in London, so pages arrive quickly for UK visitors, and there is very little to attack compared with a site that runs code on every request.
Hosting fit
What on our plans suits an AI-built site
SSH and Git
Upload and update with a single command instead of dragging files, and keep a history of every change.
Node.js and Python
Run the build tools Claude Code suggests, or host a small app, using the built-in version selectors.
Free SSL
Your site loads over HTTPS from day one, with no certificate to buy or renew by hand.
UK servers in London
Pages are served from London, which suits visitors in the UK.
Email on your domain
Unlimited email accounts and an email relay, so a contact form can send to a real address.
Weekly remote backups
Kept for about a month. Take your own copy before big changes too.
Host your Claude-built site in the UK
SSH, Git, free SSL and UK servers on every plan, from 84p a month (£10.03 billed yearly).
Stages 3 to 6
A realistic sequence from first prompt to live site
Generate the first version
Give Claude your brief and ask for the whole site. Save the files in a single project folder, and ask it to explain the folder layout in one paragraph so you know what each file does.
Open it and read it
View every page in your browser on a computer and on a phone. Read the words aloud. Look for invented facts, placeholder text and anything you would not say to a customer.
Ask for changes in small steps
Request one change at a time, such as "make the phone number a tap-to-call link on mobile". Small requests are easier to check than a request to redo the whole design.
Build the final files
With plain HTML there is nothing to build. With Astro, run the build command and a folder of finished files appears, usually called dist.
Upload to your hosting
Send the contents of that folder to the public web folder of your account. Our guide to deploying with SSH and Git shows how to do this in one command.
Point your domain and test
Register a .co.uk or .uk domain, point it to the hosting and check the live site on a phone. The website launch checklist covers every check in order.
Review
What to check before anyone else sees it
AI-written code usually runs, but running is not the same as being right. Treat the first version as a capable draft from a fast junior colleague. Read it, test it, and keep the final say.
Start with the content. Assistants fill gaps with plausible text, which can include prices, awards, opening hours and claims that are simply wrong. Every fact on the site must be one you have checked. A made-up testimonial or an invented guarantee on a business website is a real problem, whoever wrote it.
Then look at the technical basics: does every link work, do the images have descriptive alt text, does each page have its own title and description, and is there a visible way to contact you. Ask Claude to explain anything you do not understand, and to list every file it created. If something loads from another company's server, such as a font, a script or a form service, you should know about it, because it may need a mention in your privacy notice.
Before launch
A quick review list for an AI-built site
- Every fact, price and claim has been checked by you
- No placeholder text such as "Lorem ipsum" remains
- It looks right on a phone and on a desktop
- Each page has a unique title and description
- Images are compressed and have alt text
- The contact form sends to a real address and has spam protection
- You know every outside service the pages load
- A privacy notice and your company details are present
- There is a copy of the project folder somewhere safe
- You have tested the live site over HTTPS
Honest limits
What Claude cannot do for you
Claude cannot know your business. It cannot confirm that your prices are current, that a claim is legally safe to make, or that a photo is yours to use. It also cannot see your customers' reactions. Those judgments stay with you.
It can make mistakes in code, particularly in security. Forms, logins and anything that stores visitor data deserve extra care. If your site only shows information, a static build removes most of that risk, which is another reason to start there. If you do take payments or store personal data, have an experienced developer review the work.
Finally, keep the project somewhere safe. Claude Code changes real files, so a backup, or better a Git repository, means you can undo a change that went wrong. You own what you create and publish, and you are responsible for it, so read it before it goes live. For a wider look at protecting a site, see our website security checklist.
Costs
What a Claude-built site costs to run in the UK
| Item | What it is | Cost with us |
|---|---|---|
| Domain name | Your address, such as yourbusiness.co.uk | £9.99 a year for .co.uk or .uk |
| Web hosting | The UK server that serves your files | From £10.03 a year on Very Small |
| Claude | The assistant that writes the code | Billed by the provider, check their current plans |
| Time | Briefing, reviewing and testing | Your own hours, usually a weekend for a small site |
Hosting and domain prices are our yearly prices. Claude pricing is set by its provider and may change, so check their site. Limitless Plus includes a free .co.uk or .uk domain for the first year when billed yearly.
After launch
Keeping an AI-built site healthy
A site is never finished. Once it is live, look at your enquiries, note what visitors ask, and add or improve a page when a pattern appears. With Claude Code you can describe the change, review it, rebuild and upload again in minutes, which is one of the real strengths of this way of working.
Keep your own backup of the project folder, update any tools the site depends on from time to time, and set a reminder to re-read every page for facts that have gone out of date. If you hit a problem, our live chat is open 24/7 and our guides cover common faults. When you are ready to put the site online, choose a plan, register your domain and follow the deployment guide.
Ready to put your site online?
Pick a plan from 84p a month (£10.03 billed yearly) with a 15-day money-back guarantee on your first hosting order.
FAQ
Common questions
Can Claude build a whole website for me?
It can write the code for a complete small site, from the pages to the styling. You still need to supply real content, check every fact, and arrange hosting and a domain.
What is the difference between Claude and Claude Code?
Claude in a chat window gives you code to copy into files. Claude Code works inside a project folder on your computer and edits the files directly, and can run build commands.
Where do I host a website built with Claude or ChatGPT?
On any web host that serves static files or runs the tools you chose. Our UK shared hosting includes SSH, Git, Node.js and Python on every plan, with servers in London.
Do I need to know how to code to use vibe coding?
Not to start, but you need to be willing to read what you are given, test it and ask questions. Understanding the basics makes it much easier to spot mistakes.
Is an AI-built website bad for search engines?
No. Search engines judge pages on how useful and trustworthy they are, not on who typed the code. Original content, clear titles and a fast site matter far more.
Keep reading
Related pages
Host your AI-built site in the UK
SSH, Git, free SSL and UK servers on every plan, with live chat open 24/7, from 84p a month (£10.03 billed yearly).