AI Build South Africa
An evergreen guide for non-coders deciding where a site or app they built with AI should live.

Quick answer

Hosting is the always-on computer that sends your site to every visitor. If you've published from your AI website builder, it already hosts your site, and for most projects that's the right place to leave it. You can usually take the code out, as a one-time download or through Git sync to GitHub, and host the pages somewhere else. What doesn't come with it is the backend: the database, user sign-ins, uploaded files and server functions stay where they are until you move them yourself, and some builders document no way to move them at all. Moving only makes sense for a clear reason, such as needing something the builder can't do, and it never moves your users' data to South Africa on its own. The prompt near the end of this page asks your AI to list what your project depends on before you move anything.

What web hosting is, in simple words

Your website is a set of files: pages, pictures and the code that makes buttons work. Hosting is a computer that stays switched on and connected to the internet, keeps those files and sends them to anyone who types your address. The company that runs that computer is your host.

Three words get mixed up here. Hosting is where the site lives. Deployment is the act of putting a new version there; our guide to what deployment means covers it. Your domain is the address people type, such as yourbusiness.co.za, and DNS is the system that points that address at your host. You can redeploy, change host or change domain without touching the other two.

When you click Publish in an AI website builder, the builder deploys your site to its own hosting and gives it an address. So if your site is live, it's already hosted. The real question is whether it should stay there.

A simple site and an app are hosted differently

A site that only shows pages, such as a menu, a portfolio or a brochure, is a set of files that doesn't change until you publish again. Almost any host can serve it, because all the host does is send files.

An app is different. As soon as visitors can sign in, save a form, upload a photo or pay, your project has a backend: a database and code that runs on a server, out of the visitor's sight. Most AI website builders set that backend up for you, often on a separate service. This matters here because the backend is the part that doesn't move when the pages do.

Can your project leave the builder?

Usually the pages can. Most AI website builders let you take the code out, either as a one-time export or through Git sync to a GitHub repository, and another host can then serve those pages. The backend behind them is a separate matter, covered in the next section, and some builders document no way for it to leave at all.

Builders offer one or both of these:

  • An export. You download the code, often as a ZIP file. It's a snapshot: every change you make in the builder afterwards means downloading and uploading again.
  • Git sync. The builder connects to a repository on GitHub and keeps it up to date. Changes you make in the builder land in the repository, and a host that deploys from GitHub can pick them up without you downloading anything. Our guide to what Git is explains repositories.

Some builders offer export only on paid plans, and the routes differ: a download, GitHub, or both. Check your builder's own documentation for what yours offers today; the idea stays the same even when the buttons move.

What you get out is source code, not a finished site. It usually needs a build step: one command that prepares it for a host. For some projects that produces plain files any host can serve. Others, including new projects on some builders, also run code on the server to produce their pages, so they need a host that can run that code. Your AI can tell you which kind yours is.

What moves and what stays behind

Taking the code out gives you the pages and the instructions your pages use to talk to the backend. It doesn't give you the backend itself: the database, user accounts, uploaded files, server functions and secret keys all stay where they are. This is the part people usually discover only after the move.

What moves with your code and what stays behind
Part of your projectComes with the code?What that means for you
Pages, styles and page codeYesAfter the build step. Some projects need only a host that serves files; others need one that also runs server code.
The database (your saved data)NoIt stays on the builder's backend. Your moved pages keep calling it there unless you move it yourself.
Users and sign-inNoAccounts live in the backend. Its sign-in settings list which website addresses are allowed to send people to sign in, so your new address has to be added.
Uploaded filesNoPhotos and documents your users uploaded sit in the backend's storage, not in the code.
Server functionsSometimes the code, never the running copyThey run on the backend. The new host doesn't run them unless you set that up.
Secret keys and settingsNoThey're stored in the builder's settings, not the code. You add them again on the new host.
Your domainIt isn't part of the projectYou point it at the new host with DNS records when you're ready.

Lovable's own self-hosting documentation makes a related point about its standard backend: even moving the database doesn't move sign-in, file storage, live updates (data that refreshes on screen without reloading) or server functions. Each needs its own step.

Some builders run the backend on their own in-house system and document no way to run it anywhere else. Code you take out of those builders keeps calling back to the builder for its data, so what you host elsewhere is the front of the app, not the whole thing. That's a fine setup if you know it. It's a nasty surprise if you thought you'd left.

Is it worth moving?

Often it isn't. A builder's own hosting renews security certificates, applies updates and redeploys your site for you, and publishing a change takes one click. Moving hands all of that to you, and your backend usually stays with the builder anyway. Move only for a clear reason that holds up, and check yours against the lists below.

Reasons that usually hold up:

  • You need something the builder's hosting can't do, such as a server setting or a feature your project depends on.
  • You already run other sites with one host and want everything in one place.

Reasons that usually don't:

  • "It'll be cheaper." Maybe, but if the backend stays on the builder, you may still need the builder's plan for it. Compare the whole bill, not only the hosting line.
  • "POPIA says I must host in South Africa." It doesn't, and moving the pages doesn't move the data anyway (see the next section).
  • "I want my code out of the builder." Git sync gives you a copy in your own GitHub account without moving the hosting at all.
  • "My own domain needs my own hosting." Most builders let you connect your own domain to their hosting.

What you take on if you move: redeploying after every change (unless your host deploys from GitHub), adding your secret keys again, making sure your security certificate renews, and fixing things yourself when an update breaks the site.

Where your users' data actually lives

Hosting your pages on a server in South Africa helps them load quickly for South African visitors. It says nothing about where your users' names, emails and orders are stored. Those live in the backend, in whatever region that backend was set up in, often overseas. If your business collects personal information from its users, POPIA applies, and the question to answer is where the backend stores it and on what basis it may be sent there. Our guide to whether Supabase, a common AI website builder backend, is POPIA compliant covers what to check.

What to look for when choosing a host

This page doesn't rank hosts or quote prices. Prices change and depend on the plan. Check these instead, then read the host's current pricing page:

  • Files only, or code that runs? A simple site needs only file hosting. If your project runs code on the server to build its pages, or has server code of its own that isn't on the builder's backend, the host must be able to run it.
  • How your site gets there. Deploying from GitHub is easier over time than uploading files by hand.
  • A free security certificate that renews itself, so the padlock in the browser doesn't lapse.
  • Single-page app support. Many AI-built sites are single-page apps: the browser loads one file and swaps pages in itself, so a page that opens fine from the menu can show "not found" when someone opens its address directly. Our guide to blank screens and missing pages after deploying explains the setting that fixes it.
  • A place for your keys. Somewhere to store your secret keys and settings (environment variables), or a clear way to add them at build time.
  • Where the servers are, and who answers when it breaks. A server in South Africa is closer to South African visitors, and support in your time zone helps.
  • On the pricing page: the renewal price, not only the first-year price; whether it bills in rand or dollars; and what happens if your traffic grows.

What usually breaks after a move

  • The page loads blank, and the browser's error console mentions keys or addresses. The secret keys and settings weren't added on the new host, or were added after the build. Our guide to environment variables that stop working after deploy explains why.
  • Sign-in stops working. The backend's sign-in settings still allow only the old address. Add the new one.
  • Pages show "not found" when opened directly. The single-page app setting above is missing.
  • Even the home page shows "not found" or a list of files. The source folder was uploaded instead of the built files, or the files sit one folder too deep.

Test the new site before you point your domain at it: sign in, save something, upload something, and open a few pages directly by their address.

The prompt to give your AI

Paste this into your AI website builder's chat, or give it to your AI coding agent, before you move anything. It asks the AI to describe your project, not to change it.

I'm not a coder. I'm thinking about hosting this project somewhere
other than where it runs now. Don't change any code. Look at the
project and tell me, in plain English:

1. Is it a simple site that only needs its files served, or does it
   have server code that has to run somewhere?
2. Every outside service it depends on (database, sign-in, file
   storage, server functions, payments, email), and where each one
   runs today.
3. Every secret key and setting (environment variable) it needs,
   by name only, and whether each one is used in code that runs in
   the visitor's browser. Don't show me the values.
4. Which of those would move if I hosted only the code somewhere
   else, and which would stay where they are.
5. What would break or need changing if the site's address changed,
   for example sign-in redirect addresses.
6. How to get the code out of this builder (export or GitHub), and
   the command that builds it into files a host can serve.

If you're not sure about any answer, say so instead of guessing.

What to check in the AI's answer

  • It named a place for every service. "The database is handled automatically" isn't an answer. Ask where it runs.
  • It didn't say the database or users move with the code. If it did, ask it to explain how, step by step, and compare that with your builder's documentation.
  • It listed secret keys by name, with no values, and none of them sit in code that runs in the browser. If one does, sort that out before anything else; our guide to why an API key can't go in frontend code explains why.
  • It mentioned sign-in redirect addresses, if your project has sign-in.
  • The export route it described exists. Look for it in your builder. An AI will sometimes describe a button that isn't there.

If the answer shows that most of your project lives in the builder's backend, that usually settles it: keep the hosting where it is, connect your own domain, and turn on Git sync so you have a copy of the code.

Where to go next

Not affiliated with the platforms we name

AI Build South Africa is an independent resource. We're not endorsed by, or an official partner of, Lovable, GitHub or any hosting provider, and naming one here is an example, not a recommendation. We do run a Hostinger referral link on this Site; it has no bearing on anything this page says. Export options, hosting features and prices change, so check each provider's own current documentation. See our Disclaimer for the full disclosure and our Terms of Service for the wider terms.

Frequently asked questions

What is web hosting, in simple words?

Think of it as renting a shop space for your site: an always-on computer, run by a company called a host, that keeps your site's files and hands them to every visitor, day and night. Once you've published from your AI website builder, the builder is already your host.

If I have a domain, do I need hosting?

Yes. A domain is only the address; hosting is where the site actually lives. You need both, and DNS records connect them. If your AI website builder hosts your site, you can usually connect your own domain to it without buying separate hosting.

Do I need to buy hosting if my AI website builder already publishes my site?

Usually not. Publishing puts your site on the builder's own hosting, which is enough for most projects. Separate hosting only makes sense when you have a clear reason, such as needing something the builder's hosting can't do.

Can I self-host a website I built with Lovable or another AI website builder?

Usually you can host the pages yourself, by exporting the code or using Git sync to GitHub. The backend is a separate question: the database, sign-ins, uploaded files and server functions stay on the builder's side until you move each of them, and some builders document no way to move their backend at all. Check your builder's own self-hosting documentation.

Can I export my project without GitHub?

Many AI website builders offer a download, often a ZIP file, as well as Git sync to GitHub, though some keep export for paid plans. A download is a one-time snapshot, so every later change means exporting and uploading again. Git sync keeps the copy up to date for you.

Can I host my website on GitHub?

A simple site that is only files can be hosted with GitHub Pages. It serves files and doesn't run server code, so an app still needs its backend running somewhere else. GitHub also says Pages isn't for running an online business or shop.

Can I host my website myself, from home?

It's possible, but rarely sensible. The computer has to stay on and connected all the time, through power cuts and internet outages, and you become responsible for its security. A host does that job for you, so self-hosting normally means renting space from a host rather than running a server at home.

What is the difference between web hosting and deployment?

You can deploy hundreds of times to the same host: each deployment replaces the version visitors see. Changing host is different. Your next deployment goes somewhere new, and your domain has to be pointed there.

Related reading