Guide
How to host a website built with AI tools
To host a website built with an AI tool, export or download the code, build it into static files or a Node.js app, then upload it to your hosting account over SSH or SFTP. Own the code in a Git repository, keep secrets out of it, and choose hosting with a clear price. A static site needs only a web server, while a Node.js or Python app needs a host that supports it.
The basics
What an AI-built site really is
AI coding tools such as Claude Code, Cursor and others can now write a whole website from a description. Some app builders, such as Lovable, go further and host the result for you inside their platform. Whichever you used, what comes out is ordinary code: HTML, CSS, JavaScript and perhaps a small server program.
That is good news, because ordinary code can be hosted almost anywhere. You are not locked in. The question is just which kind of code you have. A static site, built with a tool like Astro or a plain React build, is a folder of finished files. A dynamic app needs a running server, perhaps with Node.js or Python.
Knowing which you have decides the hosting you need. Our guides to building a website with Claude and which stack to ask Claude for help you choose a hosting-friendly stack from the start.
Identify
What kind of project do you have?
| What you have | How to tell | What hosting you need |
|---|---|---|
| A static site | A build produces a dist or build folder of HTML, CSS and JS files | Any web host with a fast server, free SSL and SSH or SFTP |
| A single-page app | A React or Vue build, with a bundle of files and one index.html | Static hosting, plus a rule sending routes to index.html |
| A Node.js app | It has a server.js or similar file that you run with node | A host with a Node.js selector or a server |
| A Python app | It has a Flask or Django style app file | A host with a Python selector |
| A WordPress site | It uses PHP and a database | WordPress hosting, one-click install |
Deploying
From AI tool to live site
Get the code out
Download the project, or sync it to a Git repository. Check you can open it on your own computer.
Run it locally
Install dependencies and run the build, so you know it works outside the tool that made it.
Choose the hosting
Match your project type to the table above, and pick a plan with enough space.
Upload the output
Copy the built files to your web folder over SSH with rsync, or use SFTP. See our deploy guide.
Point your domain and test
Set your domain’s DNS to your hosting, check HTTPS and test every page and form.
Worked example
A worked example: a landing page made with Claude Code
A founder asks Claude Code to build a landing page and a small blog using Astro. It produces a project folder. She runs the build command on her laptop, and a dist folder appears with the finished site, a few hundred kilobytes in total.
She buys a small shared plan and a .co.uk domain. She adds an SSH key to her hosting account, and runs a single rsync command to copy the dist folder to her site’s web folder. The site goes live on her domain with HTTPS, and the cost is a fixed £10.03 a year plus the domain.
She keeps the project in a private Git repository, so she can ask Claude Code for changes, rebuild and redeploy in a minute. She also creates a business email address in the same account. The whole job takes an afternoon, and she knows exactly what it costs.
Staying in control
Keep ownership of your code and data
Whoever or whatever wrote the code, you should hold a copy. Keep it in a Git repository that you own, with a private remote on a service you control. If an AI tool or platform changes its prices or terms, you can still deploy elsewhere.
Be careful with secrets. API keys, database passwords and tokens must never be committed to the repository or pasted into prompts. Keep them in environment settings on the server, and rotate any that may have leaked.
Read what the AI wrote before you publish it. AI tools make mistakes, including security ones, such as exposed admin routes or missing input checks. Test forms, logins and any page that handles personal data, and see our website security checklist.
Platforms that host for you
Hosted app builders and what to check
Some app builders host your project on their own platform and run it on credits or a subscription. That can be convenient while you build, but check the terms before you rely on it for a business. Look at what hosting is included, whether you can use your own domain, whether you can export the code, and what happens to your site if you stop paying.
For example, the Lovable pricing page we read on 18 November 2026 described a credit system, said most small apps incur little hosting cost, and said that on cancelling you move to a free plan with only its included grants. It did not state, on the page we could read, what happens to deployed apps. Always read the current terms yourself.
If you want a fixed cost and full control, exporting the code and hosting it yourself is the safe route. It is not harder than it sounds, and the first deploy is the only slow one.
Checklist
Before you go live
- The project builds and runs on your own computer
- The code is in a Git repository you own
- No secrets are committed to the repository
- You know whether it is static or needs a server
- The hosting plan has enough space and supports your stack
- HTTPS shows the padlock on every page
- Forms, logins and payments were tested
- You have a backup and a way to redeploy
Host your project on UK servers
SSH, Node.js and Python selectors, free SSL and live chat open 24/7 on every plan, from 84p a month (£10.03 billed yearly).
FAQ
Common questions
Can I host an AI-built website myself?
Yes. The output is ordinary code. Export it, build it and upload it to any host that supports its type.
Do I need Node.js hosting?
Only if your project runs a Node.js server. A built static site needs only a web server.
Can I export my code from an app builder?
Check the builder’s current terms. Make sure you can get the code before you rely on the platform.
Is AI-written code safe to publish?
Review and test it first. AI can make security mistakes, especially around forms, logins and secrets.
How much does hosting cost?
A static site can run on our smallest plan at £10.03 a year. Larger projects may need a bigger plan.
How do I update the site later?
Change the code, rebuild and upload again, or set up a workflow that deploys when you push to Git.
Can you help me move from a builder?
Our live chat can advise on whether your project suits shared hosting and help plan the move.
Do I need to understand the code?
You do not need to write it, but you should be able to build and deploy it, and read enough to check for secrets and obvious security problems.
What if the AI tool stops working or changes its prices?
If you hold the code in your own repository, you can keep deploying it, and change tools whenever you like.
Keep reading
Related pages
Deploy your project on a plain yearly price
SSH, Node.js and Python selectors and free SSL on every plan, with a 15-day money-back guarantee.