Skip to main content
  1. Home
  2. Blog

Made a website with ChatGPT? How to upload the files and go live

ChatGPT wrote your website, but it’s sitting in a chat window. Here’s how to turn that code into files, upload them and get the site live on your domain.

Desk with a laptop, a pencil website sketch, an orange folder and a cup of coffee

In short

  • If ChatGPT or Claude gave you HTML, CSS and JavaScript, you have a static website. It’s the simplest kind to host.
  • Save the code as files, put the home page in index.html, upload everything to your hosting’s main folder and switch on SSL.
  • Contact forms and anything that “saves” data need a little extra work, because plain HTML can’t send email on its own.

You asked ChatGPT for a website for your business, it gave you a page of code, and you pasted it into a file and opened it in your browser. It looks good. Now what?

This is one of the questions we’re asked most, so here’s the full route from “code in a chat window” to “live on yourbusiness.co.uk”. No developer needed, and no special software beyond your browser.

Step 1: Turn the chat into proper files

Websites are just files in folders. Ask the AI to split its answer into separate files if it hasn’t already. A typical small site looks like this:

  • index.html – your home page. This exact name matters: it’s the page a web server shows when someone visits your domain.
  • about.html, services.html, contact.html – other pages.
  • styles.css – the colours, fonts and layout.
  • script.js – any interactive bits, such as a mobile menu.
  • an images folder – your photos and logo.

Use a plain text editor (Notepad on Windows, TextEdit in plain-text mode on a Mac, or a free code editor like VS Code) to save each one. Keep them all in one folder on your computer.

Tip: Ask the AI: “Give me this website as a downloadable zip with all files and folders.” Some AI tools can create the zip for you, which saves copying and pasting.

Step 2: Check it works on your computer

Double-click index.html. It opens in your browser. Click every link and look at it on a narrow window to check it works on phones. Broken links at this stage usually mean a file name doesn’t match (Contact.html and contact.html are different files on a web server, even if your computer treats them the same).

Step 3: Get hosting and a domain

For an HTML website, you need standard Linux web hosting and a domain name. You don’t need WordPress, a database or anything fancy. When you buy both together, the domain is pointed at the hosting for you.

Step 4: Upload your HTML website

There are two easy ways:

  • File manager. Log in to your hosting control panel, open the file manager, go into the main website folder (usually public_html) and upload your files. You can usually upload a zip and extract it there.
  • SFTP. Use a free program such as FileZilla, enter the SFTP details from your control panel, and drag your folder across.

Your index.html must sit directly inside public_html, not inside another folder within it. If you see a list of files instead of your home page when you visit your domain, that’s almost always why.

Step 5: Switch on SSL

SSL gives you the padlock and the https address. Browsers warn visitors about sites without it, and Google prefers secure pages. On HostDingo it’s free and switches on automatically once your domain points at your hosting. If any images or scripts still load over http, ask the AI to “change all links in these files to https or relative links”.

Step 6: Fix the contact form

This catches nearly everyone. A form written in plain HTML can collect what people type, but it can’t send it anywhere by itself. You have three options:

  • Use a small PHP script on your hosting that emails you the form. Ask the AI to write one, and ask it to include spam protection.
  • Use a form service that gives you an address to send the form to.
  • Replace the form with a clear email address and phone number for now.

Whichever you choose, send yourself a test message and check it arrives, including in the spam folder.

Step 7: Tell Google

Add your site to Google Search Console, then ask the AI to create a sitemap.xml file listing your pages and upload it too. Give every page its own title and description; the AI can write these if you ask for “an SEO title under 60 characters and a meta description under 155 characters for each page”.

Updating the site later

When you want changes, give the AI your current file and ask for the edit, then upload the new version over the old one. Keep a copy of the previous version on your computer first. Daily backups on your hosting are a second safety net if something goes wrong.

Host your ChatGPT website with HostDingo

Our Linux web hosting is built for exactly this: from £4.99/mo billed yearly, with a file manager, SFTP, free SSL, daily backups, PHP for your contact form and 5 email mailboxes. Add a .co.uk domain for £11.99 a year. If you get stuck, DingoAi, our AI assistant, answers common questions instantly, 24/7, and our support team replies to tickets as soon as possible.

Common questions

Where do I upload my HTML files?

Into your website’s main folder, usually called public_html, using the file manager in your hosting control panel or an SFTP program. The home page must be called index.html and sit directly inside that folder.

Do I need WordPress to host a website ChatGPT made?

No. A website made of HTML, CSS and JavaScript files runs on standard Linux hosting as it is. WordPress is a different kind of website that stores content in a database.

Why does my contact form not work after uploading?

Plain HTML can’t send email. Add a small PHP script on your hosting or use a form service, then test it.

Can I edit the website after it’s live?

Yes. Change the file on your computer (or ask the AI to), then upload it again to replace the old one. Keep a copy of the previous version first.

Found this useful? Share it.

Written by the HostDingo team

We host small business websites from London and answer every support ticket ourselves. Got a question about this guide? Email support@hostdingo.co.uk.

Still stuck?

Ask DingoAi, our AI assistant, any time. Need a person? Open a ticket and our support team replies as soon as possible.

Review us on Trustpilot