Hosting your AI website (2026 guide)

01/12/2026

How to take code from Claude or ChatGPT and host it. From static HTML files and Vercel to embedding widgets in Squarespace, Wix or WordPress. An Australian small business guide.

If you have recently used Claude or ChatGPT to build a website or a landing page, you have likely run into the next big hurdle: getting the code off the screen and onto the public internet.


Most AI tools will output one of two things: a single file of static HTML, CSS, and JavaScript, or a modern framework project like Next.js or React. The problem is that many business owners are currently stuck on legacy page builders, such as GoDaddy Aero, traditional cPanel file managers, or closed platforms like Squarespace and Wix. They know the AI generated a better website, but they are not sure how to publish it without breaking their existing domain or email setup.

This guide walks you through exactly how to host your AI-built website. It covers everything from drag-and-drop static hosting and cPanel uploads to connecting a private GitHub repository to Vercel, and even shows you how to inject AI-built components into existing website builders.

The golden rule: registrar versus host

Before touching any code or setting up a new account, remember the fundamental rule of web architecture: your domain registrar and your web host are two different jobs.

  • The Registrar: The company where you bought your domain name (for example, VentraIP, Porkbun, or GoDaddy). They control your domain name and your DNS records.
  • The Host: The platform where your website files actually live and run (for example, Vercel, Netlify, or a basic cPanel hosting package).

Many website builders (like GoDaddy's built-in editor or Shopify) try to bundle these two together to keep you locked into their ecosystem. When you use AI to build a custom site, you want to decouple them. You keep your domain safely at your registrar and point its DNS records at your new, high-performance host.


Level 1 (Beginner): Hosting static HTML and asset folders

If your chat with ChatGPT or Claude produced a single index.html file or a small folder of static HTML, CSS, and JavaScript, you do not need a complex build pipeline or a developer account. You have a finished static site.

The AI prompt to use

If you need to ask your AI tool to package your design into a single deployable static file, copy and paste this prompt:

"Package the website we just designed into a single, clean index.html file with all CSS and JavaScript included inline or using standard CDN links (such as Tailwind CSS via CDN). Ensure there are no broken asset links, and format it so I can drag it straight into a static host."

Option A: Drag-and-drop hosting

Platforms like Netlify (via Netlify Drop) or Vercel allow you to drag a folder of static files straight into your browser window. Within ten seconds, you receive a secure live URL (https://your-project.netlify.app).

  1. Export your code blocks from the AI chat into a local folder on your computer.
  2. Ensure your primary file is named exactly index.html.
  3. Open Netlify Drop or Vercel, drag the folder into the upload zone, and your site is live.
  4. Go to your domain registrar (such as GoDaddy or VentraIP), add an A record pointing the apex domain to your host's IP address, or a CNAME for your www subdomain.

Option B: cPanel file manager upload

If your existing Australian web hosting package includes a standard cPanel control panel (common with budget hosting providers), you already have a static file server ready to go.

  1. Log into your cPanel dashboard and open the File Manager.
  2. Navigate to the public_html directory for your domain.
  3. Compress your AI-generated static files into a .zip archive on your computer, upload that zip into public_html, and extract it.
  4. Ensure the extracted files sit directly inside public_html (with index.html at the root) rather than inside a nested folder.

Level 2 (Intermediate): Git-backed deployments on Vercel

If your AI tool generated a multi-file project, a structured web app, or something you plan to update regularly, dragging and dropping a zip file becomes tedious. You need a version-controlled workflow.

The industry standard for modern web apps is connecting a private GitHub repository to Vercel. Vercel is the company behind Next.js, and their free hobby tier handles static sites and serverless frameworks with zero fuss.

The AI prompt to use

To get ChatGPT or Claude to structure your project for a GitHub repository and Vercel, use this prompt:

"Structure this website project as a clean Next.js app router project ready to push to GitHub and deploy on Vercel. Include a complete package.json, tailwind configuration, and a well-organised file structure (app/page.tsx, app/layout.tsx) so I can connect it straight to Vercel without manual build errors."

  1. Create a GitHub repository: Create a new private repository on GitHub for your project files.
  2. Push your code: Commit your AI-generated files and push them to the repository main branch.
  3. Import to Vercel: Log into Vercel using your GitHub account, click Add New Project, and select your new repository.
  4. Deploy: Vercel automatically detects your project structure, runs any required build scripts, and provides a production URL with automatic SSL.
  5. Connect your custom domain: In your Vercel project settings under Domains, enter your domain name. Vercel will supply exact DNS records (A and TXT or CNAME) to paste into your registrar's DNS manager.

Level 3 (Advanced): Framework apps and AI coding connectors

If Claude or ChatGPT handed you a full Next.js or React project, you have a framework application that requires a build step.

For maximum velocity, you can connect your Vercel project directly to AI coding tools or local developer workflows (such as Claude Code or Cursor). This lets you prompt your AI assistant to make changes, test them locally, and push updates straight to GitHub, which automatically triggers a zero-downtime deployment on Vercel.

The AI prompt to use

When working with an AI coding assistant locally in your terminal or editor, use this prompt to manage updates:

"Review the current repository structure, update app/page.tsx to include [describe your requested feature/change], ensure all Tailwind CSS classes are valid, and test that the build succeeds locally without TypeScript or linting errors."

  1. Clone the repo locally: Pull your GitHub repository to your computer (git clone).
  2. Run your local build: Open the project in your code editor and run npm install followed` to test the build process locally.
  3. Establish your AI loop: Use an AI coding assistant to refine components, style pages with Tailwind CSS, or connect APIs.
  4. Push and preview: Every time you commit and push changes, Vercel generates a unique preview URL so you can inspect the changes on mobile and desktop before pushing them to production.

The in-between path: injecting AI-built components into existing CMS platforms

What if you are already running an established business website on Squarespace, Wix, or WordPress, and you do not want to migrate your entire site, but you do want to use AI to build a custom calculator, interactive pricing table, or landing page widget?

You do not need a complete platform migration to benefit from AI-generated code. You can inject custom components directly into your existing builder.

The AI prompt to use

To get an AI tool to output code suitable for platform embedding, use this prompt:

"Write a self-contained HTML snippet with embedded CSS and vanilla JavaScript for a [describe widget, e.g., pricing calculator]. Ensure all styles are scoped inside a unique wrapper ID so they do not conflict with the rest of the website's CSS, and make it fully responsive for mobile screens."

1. WordPress

  • Code Injection plugins: Use a trusted header and footer code injection plugin to add custom Tailwind CSS stylesheets or custom JavaScript widgets.
  • Custom plugins or child themes: If the AI wrote a modular PHP/React widget, you can bundle it into a custom plugin folder and upload it through the WordPress plugin installer.

2. Squarespace and Wix

  • Code Blocks: Both platforms offer embedding blocks where you can paste raw HTML, CSS, and client-side JavaScript.
  • Hosting the asset externally: If your AI-generated widget requires heavy JavaScript libraries or external assets, host the compiled static files on GitHub Pages or Vercel, and embed the widget securely using an <iframe> or a custom HTML custom element inside your Squarespace or Wix section.

Summary action checklist

  1. Identify your output: Is it a single static HTML file or a framework project (Next.js)?
  2. Choose your host: Use Netlify or cPanel for static files; use Vercel connected to GitHub for framework apps and frequent updates.
  3. Decide on migration: If you are tied to Squarespace or Wix, embed AI components via code blocks rather than rebuilding from scratch.
  4. Keep your registrar separate: Keep your domain registered with an independent provider and point DNS records to your new host.

Related articles