← All videos

I Built a Website with Gemini AI in Minutes (Free) + Hosted It Live

🔥 BLACK FRIDAY 2026: Hostinger Unlimited is now $3.49/mo (82% off, lowest price of the year) 👉

📖
Read the written guide

How to Publish a Website for Free (and When to Pay)

What this video covers

I asked Gemini to write a full website (index.html, style.css and script.js), then uploaded the files with Hostinger's File Manager and put it live on my own domain. Works the same way with ChatGPT.

Key points

Create a modern, responsive one-page website for a personal fitness coach called "Coach Max Fitness". Use plain HTML, CSS and JavaScript only: no Tailwind, no Bootstrap, no frameworks and no build tools. Sections: hero with a call to action, about the coach, training programs with prices, transformation results, testimonials, a free consultation form, and a footer. Use a dark theme with energetic lime green accents, Google Fonts, a sticky navbar with a mobile menu, smooth scrolling, and fade-in animations on scroll. Use real photos from images.unsplash.com. Reply directly in this chat (do not use Canvas) with exactly 3 complete code blocks: index.html, style.css and script.js, and link style.css and script.js in index.html.

Prices shown are US prices on the 48-month plan (October 2026). Prices change by country and over time, so always check the final price in the cart.

Chapters

  • 0:00 Intro
  • 0:14 Get the Hostinger discount link
  • 0:31 Premium vs Unlimited vs Cloud
  • 1:36 Billing period + free domain
  • 1:54 Apply coupon LEARN2EARN
  • 2:06 Account, billing & payment
  • 2:46 Create your site
  • 3:15 Claim your FREE domain
  • 3:52 Start empty
  • 4:00 Choose your server location
  • 4:16 The Gemini prompt
  • 4:33 Copy the 3 files
  • 4:48 Open File Manager
  • 4:55 The public_html folder
  • 5:10 Upload your files
  • 5:14 index.html = your home page
  • 5:22 The website is live
  • 5:34 Mobile view
  • 5:45 Next video

Read next

Prices and offers are as shown in the video and checked when it was made (US, USD, before tax). They change by country and over time, so always check the final cart.

Full transcript

In this video, I'll build a complete website with Gemini, upload it to my hosting with the File Manager, and put it live on my own domain. But first, you need hosting and a domain, so let me show you how to get hosting at the best price, with a free domain. First, let's get your hosting. Click the Hostinger link in the description below this video, so you get the best discount. Before anything else, make sure you're on your own country's version of the site. I'm using US prices in this video, and prices can be different where you live. Then click Get started. Here you'll see three plans. On the left, Premium, for two ninety-nine a month. It's good for up to three websites, with twenty gigabytes of storage and weekly backups. But notice: no CDN, no AI tools, and no priority support.

On the right, Cloud Startup, for seven ninety-nine a month. You get a hundred gigabytes of NVMe storage, daily and on-demand backups, and more power for agencies and high-traffic sites. But for most people, it's more than you need right now. And in the middle, Unlimited, the one I recommend. For three ninety-nine a month, you get unlimited websites, fifty gigabytes of NVMe storage, daily backups, a free CDN, the AI tools, and priority support. That's the best value, so that's the one we'll choose. So, quick recap: Premium is fine for a few simple sites, Cloud is for big, high-traffic projects, and Unlimited is the best value for almost everyone. Just keep in mind: this is an intro price, and the plan renews at a higher price, which you can always see right here. Now click Choose plan.

This is your cart. First, choose the period. You can pay for one, twelve, twenty-four, or forty-eight months. The longer the period, the lower the monthly price, so forty-eight months is the best value. And look: you also get a free domain for the first year, and free email mailboxes. Now, click Have a coupon code, type my code, LEARN2EARN, and click Apply. The price drops to three fifty-nine a month, and you can see the coupon savings right here. Then click Continue.

Now create your account. Type your email and a strong password, or simply sign up with Google. Then click Register. Next, fill in your billing details: your name, your country, your phone number, and your address. Then click Continue. Now choose how you want to pay. You can pay with a card: just type your name, your card number, the expiry date, and the security code. Or you can use PayPal, Google Pay, and other options, depending on your country.

You're also covered by a thirty-day money-back guarantee. Now click Submit payment, and if your bank asks you to confirm, approve it. Once your payment goes through, Hostinger takes you straight to the setup. Let's do it together. First, it asks where you'd like to start. Click Create a new site. Now choose how you want to build it. Describe it, we build it, is the AI Builder. Build on WordPress is great for blogs and online stores. Push your code is for developers and vibe-coded apps. And Upload your PHP or HTML is for advanced users.

Pick the one that fits your project. I'll choose Upload PHP or HTML, because I'm going to upload my own website. Then click Next. Now the fun part: choosing your domain. Your plan comes with one free domain for the first year. Type the name you want. I'm using an example name here, so type your own. If it's available, it shows as free for the first year. Click it, then click Next. Next, enter the owner details for your domain: your name, email, phone number, and country. Use your real details, because they're used to verify the domain, and wrong details can get it suspended.

After that, check your inbox. You'll get an email asking you to verify your domain. Click the link in that email within fifteen days, or the domain can be suspended. Now choose how to set up your website. You can upload your website files, or start empty. I'll start empty, then click Next. Then pick your server location. Choose the location closest to most of your visitors. My audience is mostly in the US, so I'll pick the United States. Then click Next. And that's it! Hostinger sets everything up in a minute or two, and your hosting and domain are ready.

Open Gemini. It's free, and ChatGPT works exactly the same way. Then write a clear prompt: the business, the sections you want, and the style. The most important part: ask for plain HTML, CSS and JavaScript, with no frameworks, and exactly three files. In a few seconds, Gemini writes all three files: index html, style css, and script js. Click the copy button on each code block, paste it into a text editor like Notepad, and save it with that exact file name. Now go to your hosting panel. Open your website, go to Files, then File Manager, and click Access files of your website. Open the public html folder. This is where your website lives. The default php file is just Hostinger's placeholder page. I'm using a subdomain folder called demo, but for your main domain, upload straight into public html.

Click the upload icon at the top, choose File, and select your three files. And they're uploaded! Just make sure your main file is called index html, because that's the page the browser opens first. Now open your domain in the browser. And here it is, live! A bold hero section, the coach's story, programs with prices, real transformations, reviews, and a free consultation form. And it's fully responsive, so it looks great on phones too.

That's it. A website written by AI, hosted on your own domain, without writing a single line of code yourself. In my next video, I'll build a complete WordPress website on Hostinger, step by step. Subscribe so you don't miss it, and remember, the link with my discount is in the description.

Get the next tutorial in your inbox

One short email when a new build is out, plus the best hosting deals. No spam, unsubscribe anytime.