Skip to content
Getting started5 min read

Building a website with AI: from prompt to a live site

Short answer

There are two ways to build a website with AI. An AI site builder turns a description of your business into pages and hosts them on its own platform. An AI coding tool such as Claude Code, Cursor or Lovable writes the site's code for you, and you then upload those files or that app to hosting with your own domain so anyone can visit it.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What you need
  2. The two approaches at a glance
  3. Approach 1: an AI site builder
  4. Approach 2: an AI coding tool
  5. Troubleshooting
  6. On ArabyHost

AI has cut the time it takes to build a website dramatically, but the question most people get stuck on comes afterwards: where does the site actually run, and how does it end up on a domain with your company’s name? This guide covers both approaches, what each costs you in effort, and how the result gets onto real hosting.

What you need

  • A clear description of your business: what you offer, to whom, and where.
  • Your core text, or bullet points the tool can write from: services, contact details, a WhatsApp number.
  • Your logo and real photos if you have them. Stock images make a site look like thousands of others.
  • A domain name, or an idea for one. The domain name generator can help.

The two approaches at a glance

AI site builder AI coding tool
Examples Site builders with an AI mode, such as Wix and others Claude Code, Cursor, Lovable, Bolt, v0, ChatGPT
What you type A description of your business, then you pick designs A description of the site, then rounds of changes
Where the site runs On the platform’s own servers On hosting you choose
Who owns the code You usually don’t get it The code is your files
Effort Low at the start Higher, plus a deploy step
Moving later Hard; usually a rebuild Upload the same files to any suitable host

If you want a quick brochure site and don’t care about moving it, a site builder is enough. If you want full control or something custom (bookings, a dashboard, prices you update), a coding tool fits better; the details are in the vibe coding guide.

Approach 1: an AI site builder

1. Write a precise prompt

Instead of “a website for my company”, write: “An Arabic website for an air-conditioning maintenance company in Jeddah, listing services and areas, with a WhatsApp button and a visit request form.” The more specific the prompt, the closer the first draft.

2. Check every sentence it wrote

Builders write generic copy and can invent numbers, years of experience or certifications. Delete anything untrue and put in your real contact details.

3. Connect your domain

Most platforms require a paid plan to connect your own domain. The site still runs on their servers, and for business email you need a separate service such as business email.

Approach 2: an AI coding tool

1. Pick the tool for the kind of site

  • A simple brochure site: ask ChatGPT or Claude for a complete HTML and CSS page. It is the simplest output and runs on any host.
  • A modern front end with a polished design: Lovable, Bolt and v0 usually generate a React project.
  • A larger project you will keep working on: Cursor or Claude Code work on the project files on your computer or on the server. See AI coding websites compared.

2. Find out what the tool made

Before uploading, open the project folder and identify it:

What you see in the folder What it means Where it runs
index.html plus CSS files and images A static site Any shared hosting
package.json and npm run build produces dist or build A front-end app that builds into static files Any hosting, after uploading the build folder
package.json with a server (Express or Next.js) A Node.js app that keeps running A plan with Node.js
.py files and requirements.txt A Python app A plan with Python
.php files A PHP site Any hosting with PHP

3. Run the production build

For projects with a package.json, run this on your computer:

npm install
npm run build

You get a folder such as dist. That folder is what you upload, not the whole project.

4. Upload it

  • Static files: zip the contents of dist (not the folder itself), then in cPanel open Files » File Manager » public_html, click Upload, then Extract. Details in uploading an HTML site.
  • A Node.js app: in cPanel open Setup Node.js App and create the application, as in deploying a Node.js app.
  • From Lovable specifically: see deploying a Lovable app.

5. Connect the domain and check HTTPS

Point the domain’s nameservers to ns1.arabicode.com and ns2.arabicode.com, wait for propagation, then open the site with https://. Before announcing it, go through the pre-launch checklist.

Troubleshooting

  • Blank page after uploading: you probably uploaded the project folder instead of the build folder, or asset paths point to a folder that doesn’t exist. See blank page after deploy.
  • 404 when refreshing an inner page: React apps need an .htaccess rule sending every request to index.html. The fix is in SPA 404 on refresh.
  • The page shows without styling: the CSS files weren’t uploaded or their paths are wrong.
  • It works on your computer only: values such as API keys live in a .env file on your machine and weren’t set on the server.

On ArabyHost

A static site or a WordPress site runs on shared hosting or WordPress hosting, with free SSL issued automatically and daily backups. Apps that need Node.js or Python run on the AI and Developer plans: jailed SSH inside CageFS, Node.js 20 and 24, Python 3.9 to 3.12, apps run through Passenger, and deployment from GitHub, by ZIP upload, or straight from Claude or Cursor through Araby MCP. There is no Docker, no GPU and no root access, so if your project depends on any of those, choose a provider that offers them. If something breaks after the upload, the Araby AI assistant reads the error log and explains the fix. Current prices in your currency are on the pricing page.

FAQ

Can I build a website with AI for free?

Most AI site builders and coding tools have a limited free plan that is fine for trying things out. A business site usually needs its own domain plus paid hosting or a paid plan on the platform, so check each tool's pricing page before relying on it.

What is the difference between an AI site builder and an AI coding tool?

A site builder creates and hosts the site inside its platform, so you don't see the code and can't easily move it. A coding tool gives you the actual code files, which you own and can put on any hosting that supports that technology.

I built my site in Lovable or Bolt. How do I put it on hosting?

Export the project to GitHub or download it, then run the production build. If the result is static files in a folder like dist, upload them to public_html; if it is a Node.js app, run it on a plan that supports Node.js.

Will an AI-made website show up on Google?

Yes, if it is published on a domain, its pages contain real, useful text, and you add it to Google Search Console. AI speeds up building but doesn't replace accurate content about your business.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.