Ultra Web Hosting Docs

Building Websites with AI

You do not need to know how to code to build a professional website. AI tools like ChatGPT, Claude, and Gemini can generate complete, ready-to-publish HTML websites from a simple text description. This guide walks you through the entire process — from generating your site with AI to uploading it to Ultra Web Hosting and going live.

Introduction

Building a website used to require learning HTML, CSS, JavaScript, and often a content management system like WordPress. That has changed. Modern AI tools can generate a complete, professional-looking website from a plain-English description in minutes.

Here is what makes this approach powerful:

What is a static HTML site? A static site is made of plain HTML, CSS, and JavaScript files. The server sends these files directly to visitors without any processing. This makes static sites extremely fast, secure, and reliable. Every Ultra Web Hosting plan supports them out of the box.

Using ChatGPT, Claude, or Gemini to Generate Websites

The simplest way to build a website with AI is to use a chatbot like ChatGPT, Claude, or Gemini. You type a description of the website you want, and the AI generates the complete HTML, CSS, and JavaScript code.

How to Prompt an AI Chatbot

The key to getting a good website from an AI chatbot is writing a detailed prompt. Be specific about what you want. Include details about your business, the pages you need, the color scheme, and the style you are going for. The more detail you give, the better the result.

Here are example prompts that produce excellent results:

Business website:

Create a complete responsive HTML website for a plumbing business called
Smith Plumbing in Dallas, TX. Include a homepage, services page, about
page, and contact form. Use a modern dark blue and white color scheme.
Include a sticky header with navigation, a hero section with a call to
action, and a footer with contact information and business hours.

Portfolio website:

Build a portfolio website for a photographer with a grid gallery, about
section, and contact form. Make it responsive and include smooth scroll
animations. Use a minimal black-and-white design with large images.
Include a lightbox effect when clicking on gallery photos.

SaaS landing page:

Generate a landing page for a SaaS product called TaskFlow with a hero
section, features grid with icons, pricing table with three tiers,
testimonials carousel, and a signup form. Use a modern gradient design
with purple and blue tones. Make it fully responsive for mobile.

Tips for Better Results

Saving the Generated Code

The AI will give you blocks of HTML, CSS, and JavaScript code. Save each as a separate file on your computer:

For multi-page sites, you have two approaches:

Tip: After saving the files, open index.html in your web browser to preview the site locally. You do not need a server to test — just double-click the file. If something does not look right, go back to the AI and ask it to fix the specific issue.

Using AI Coding Editors (Cursor, Claude Code, Windsurf)

AI coding editors are more powerful than chatbots for building websites because they work directly with files and folders on your computer. Instead of copying and pasting code blocks, the AI creates, edits, and organizes all your project files automatically.

Cursor

Cursor is a code editor (based on VS Code) with built-in AI. Open an empty folder, press Ctrl+L to open the AI chat, describe what you want, and Cursor creates all the files in your project. It handles multi-file projects naturally — HTML, CSS, JavaScript, images, and folder structure are all managed for you.

Claude Code

Claude Code runs in your terminal. Navigate to an empty project folder, start Claude Code, and describe the site you want to build. It generates a complete project with a proper file structure. You can see all the files it creates in real time and ask for changes iteratively.

Windsurf

Windsurf is another AI-powered editor similar to Cursor. It has an agentic workflow that can plan and execute multi-step tasks, making it well-suited for building complete multi-page websites from a single description.

Why AI Editors Are Better for Larger Projects

Which should you choose? If you are building a simple one-page site, a chatbot (ChatGPT, Claude, Gemini) is perfectly fine. If you are building a multi-page site or plan to make lots of changes over time, an AI coding editor will save you significant time and effort.

Project Structure for Static Sites

Whether you use a chatbot or an AI coding editor, your final website files should follow a clean, organized structure. Here is the recommended layout for a static HTML site hosted on Ultra Web Hosting:

public_html/
├── index.html          <-- Homepage (loaded by default when visitors arrive)
├── about.html          <-- About page
├── services.html       <-- Services page
├── contact.html        <-- Contact page
├── css/
│   └── style.css       <-- All your styles
├── js/
│   └── main.js         <-- JavaScript functionality
└── images/
    ├── logo.png        <-- Your site logo
    ├── hero.jpg        <-- Hero banner image
    └── ...             <-- Other images

Here is what each part does:

Tip: When you ask an AI chatbot to generate a website, it often puts all the CSS and JavaScript inline (inside the HTML file). That works fine for simple sites. For larger sites, ask the AI to "put the CSS in a separate style.css file and the JavaScript in a separate main.js file."

Making Your AI Site Better

The first version the AI generates is a solid starting point, but you can make it much better with a few follow-up prompts. Ask the AI to add these improvements:

Essential Improvements

Adding Real Images

AI-generated sites typically use placeholder images. Replace these with real photos to make your site look professional:

Download the images, save them in your images/ folder, and update the src attributes in your HTML to point to the new file names.

Custom Fonts

Fonts make a huge difference in how professional your site looks. Ask the AI to use a specific font:

Analytics

Track how many people visit your site by adding an analytics snippet. Ask the AI: "Add the Google Analytics tracking code to every page" and provide your Measurement ID (starts with G-). Alternatively, use privacy-friendly options like Plausible or Fathom.

Contact Form Processing

Static sites cannot process form submissions on their own — they need a form handler. Ask the AI to integrate one of the options covered in the Contact Form section below.

Warning: Do not use AI-generated placeholder text ("Lorem ipsum") on your live site. Replace all placeholder content with real text about your business. Search engines penalize sites with placeholder content, and visitors will not trust a site that looks unfinished.

Uploading to Ultra Web Hosting

Once your website files are ready, uploading them to Ultra Web Hosting takes just a few minutes. You have three options:

Method 1: cPanel File Manager

The easiest method for small sites. No software to install — everything happens in your browser.

  1. Log into cPanel and click File Manager under the Files section.
  2. Navigate to the public_html directory. If you are setting up an addon domain, navigate to that domain's document root instead.
  3. Click Upload in the toolbar at the top of the page.
  4. Drag and drop your website files (HTML, CSS, JS, images) into the upload area, or click Select File to browse.
  5. Wait for all uploads to complete, then click the back link to return to File Manager.
  6. Verify your files are in the correct directory. You should see index.html inside public_html.

For more details, see Using File Manager.

Tip: To upload entire folders (like css/, js/, images/), compress them into a .zip file first, upload the zip, then right-click it in File Manager and select Extract. This is much faster than uploading files one at a time.

Method 2: FTP / SFTP with FileZilla

Better for larger sites with many files and images. FileZilla lets you drag and drop entire folder structures.

  1. Download and install FileZilla (free).
  2. Connect to your Ultra Web Hosting account using your FTP credentials. See Using FileZilla for step-by-step setup.
  3. In the remote panel (right side), navigate to /public_html.
  4. In the local panel (left side), navigate to your website project folder.
  5. Select all files and folders on the left and drag them to the right. FileZilla uploads everything, preserving your folder structure.
  6. Once uploads complete, visit your domain in a browser to see your live site.

Method 3: AI-Assisted Deployment

If you are using an AI coding editor like Cursor, Windsurf, or VS Code with Claude Code, you can deploy directly from your editor using an SFTP extension. This is the fastest workflow for ongoing development because you can make changes and deploy without leaving your editor.

See AI-Assisted FTP Deployment for the complete setup guide, including how to configure the VS Code SFTP extension and enable upload-on-save.

Which method should you use? For a quick one-time upload, use cPanel File Manager. For larger projects or ongoing changes, use FileZilla or the AI-assisted SFTP method. All three get the same result — your files on the server, your site live on the web.

Adding a Contact Form Without Backend Code

Static HTML websites cannot process form submissions on their own. When a visitor fills out a contact form, the data needs to go somewhere. Here are your options, from simplest to most flexible:

Formspree (Recommended for Static Sites)

Formspree is a form backend service that works perfectly with static HTML sites. You point your form's action attribute to a Formspree URL, and submissions get forwarded to your email. No server-side code needed.

<form action="https://formspree.io/f/your-form-id" method="POST">
    <label for="name">Name</label>
    <input type="text" id="name" name="name" required>

    <label for="email">Email</label>
    <input type="email" id="email" name="email" required>

    <label for="message">Message</label>
    <textarea id="message" name="message" required></textarea>

    <button type="submit">Send Message</button>
</form>

Sign up at Formspree, create a form, and replace your-form-id with the ID they give you. The free tier allows up to 50 submissions per month.

Google Forms

Create a form in Google Forms and either embed it on your page with an <iframe> or link to it with a button. Responses go to a Google Spreadsheet. This is free and easy, though it may not match your site's design.

Mailto Links

The simplest option — a link that opens the visitor's email client with a pre-filled message:

<a href="mailto:you@yourdomain.com?subject=Website%20Inquiry">
    Email Us
</a>

This works everywhere but relies on the visitor having an email client configured. It is best used as a fallback alongside a proper form.

PHP Form Handler (Works on Ultra Web Hosting)

Since Ultra Web Hosting supports PHP on all shared hosting plans, you can create a simple PHP script to process form submissions and send them to your email. Ask your AI tool to generate this for you:

Create a simple PHP contact form handler. The form should have fields for
name, email, and message. The PHP script should validate the inputs, send
an email to me@mydomain.com using the mail() function, and redirect back
to a thank-you page. Include basic security measures like input sanitization.

The AI will generate two files: the HTML form and a contact.php handler. Upload both to your public_html directory. The form's action attribute will point to contact.php, which handles the email sending on the server.

Warning: If you use a PHP form handler, always include input sanitization and validation to prevent spam and abuse. Ask the AI to include CSRF protection, rate limiting, and input filtering. Never trust user input without validating it first.

Updating Your Site

Websites are never truly "done." You will want to update content, fix issues, or add new sections over time. Here is how:

Using Your AI Tool

  1. Open your local project files in your AI coding editor (or paste the file into a chatbot).
  2. Describe the change you want: "Update the phone number in the footer to 555-123-4567" or "Add a new portfolio item to the gallery."
  3. The AI edits the files for you. Review the changes in your browser.
  4. Re-upload only the changed files to your hosting account using File Manager, FileZilla, or SFTP.

Quick Edits in cPanel

For small text changes (fixing a typo, updating a phone number), you can edit files directly in cPanel File Manager:

  1. Open File Manager and navigate to the file you want to edit.
  2. Right-click the file and select Edit.
  3. Make your changes in the code editor that appears.
  4. Click Save Changes. The update is live immediately.
Tip: Always keep a local copy of your website files on your computer. This serves as a backup and makes it easy to use AI tools for future changes. If you only edit files on the server and something goes wrong, you could lose your work.

Example: Build and Deploy a Business Website in 30 Minutes

Here is a complete, step-by-step walkthrough of building a real business website with AI and putting it live on Ultra Web Hosting. No coding experience required.

  1. Open an AI chatbot. Go to Claude.ai, ChatGPT, or Gemini. Any of these will work.
  2. Describe your business and website. Write a detailed prompt. For example:
    Create a complete, responsive single-page HTML website for a bakery
    called "Golden Crust Bakery" in Austin, TX. Include these sections:
    - Hero with a warm, inviting background image and tagline
    - Menu section with a grid of items (breads, pastries, cakes) with
      prices
    - About section with the bakery's story
    - Contact section with address, phone, hours, and a contact form
    - Sticky navigation header and a clean footer
    Use a warm color scheme with cream, brown, and gold tones. Use the
    Playfair Display font for headings and Lato for body text from Google
    Fonts. Put all CSS in a separate style.css file and all JavaScript in
    a separate script.js file.
  3. Save the generated code. Create a folder on your computer called golden-crust-bakery. Save the HTML as index.html, the CSS as css/style.css, and the JavaScript as js/script.js. Create the css/ and js/ subfolders first.
  4. Ask for additional pages (optional). If you want separate pages, ask: "Now create an About page (about.html) with the same header, footer, and styling." Repeat for any other pages you need.
  5. Preview locally. Open index.html in your web browser. Check that it looks good on both desktop and mobile (use your browser's responsive design mode — press F12 and click the device icon).
  6. Replace placeholder images. Download relevant photos from Unsplash or use your own photos. Save them in an images/ folder and update the image paths in your HTML.
  7. Replace placeholder text. Update any generic text with your real business information — address, phone number, hours, menu items, prices, and your story.
  8. Log into cPanel. Go to your Ultra Web Hosting cPanel and click File Manager.
  9. Navigate to public_html. This is where your website files need to go. If there are any default files in there (like a placeholder index.html), delete them first.
  10. Upload your files. Compress your project folder into a .zip file. Click Upload in File Manager, upload the zip, then right-click it and select Extract. Make sure the files end up directly inside public_html (not in a subfolder).
  11. Visit your domain. Open a new browser tab and go to yourdomain.com. Your AI-built website is now live on the internet.
That's it! You just built and deployed a professional website without writing a single line of code by hand. The entire process — from AI generation to live site — typically takes 20 to 30 minutes.

Static HTML vs WordPress

Both static HTML sites and WordPress sites work great on Ultra Web Hosting. Here is how to decide which is right for your project:

Choose Static HTML When:

Choose WordPress When:

Quick Comparison

Tip: You do not have to choose one forever. Many people start with a static HTML site built by AI and switch to WordPress later if they need a blog or online store. You can also run both — a static landing page on your main domain and WordPress in a subdirectory like yourdomain.com/blog/.
Ready to get started? Pick an AI tool, write a description of the website you want, and follow the steps in this guide. In less than an hour, you can have a professional, fast, secure website live on Ultra Web Hosting — no coding experience required. If you need help with deployment, check out our guides on File Manager, FileZilla, and AI-Assisted FTP Deployment.