Skip to content

Black Friday: up to 50% off.

Cloudzyro
How-to

How to build a website: the complete beginner's guide

Kofi Agyem

, Founder and CEO, CloudzyroPublished · 14 min read

On this page
  1. 1. The short answer
  2. 2. Step 1: decide what the site is for
  3. 3. Step 2: choose how you'll build it
  4. 4. Step 3: start from a template, not a blank page
  5. 5. Step 4: choose a domain name
  6. 6. Step 5: plan the pages
  7. 7. Step 6: write your words and gather your photos
  8. 8. Step 7: build it
  9. 9. Step 8: make it work on phones
  10. 10. Step 9: get the search basics right
  11. 11. Step 10: put it online
  12. 12. Step 11: connect your domain
  13. 13. Step 12: add forms, email, payments and data
  14. 14. Step 13: launch, then keep it up to date
  15. 15. What it costs
  16. 16. Sources

How to build a website from scratch: plan it, choose a builder, AI or code, start from a template, write the pages, then publish it on your own domain.

1. The short answer

To build a website, decide what it's for and which pages it needs, choose how you'll build it (a website builder, WordPress, an AI builder or code), start from a template that's close to what you want, replace the placeholders with your own words and photos, check it on a phone, then publish it and connect your domain. A small site takes an afternoon to a weekend. Most of that time goes on your own content, not on the technology.

This guide walks through every step in order and links to a detailed guide wherever a step deserves one. We're Cloudzyro, so our own tools appear as one of the routes, but each step works whichever you choose.

2. Step 1: decide what the site is for

The most common reason a site doesn't work isn't the design. It's that nobody decided what a visitor should do on it. Before you choose any tool, write down four things:

  • Who it's for. Hungry people nearby, couples' wedding guests, hiring managers, people comparing software.
  • The one thing they should do. Book a table, RSVP, download your resume, start a free trial, call you. Pick one main action and make every page lead to it.
  • What they need to know first. Opening hours, prices, where you are, what you've made before. These become your pages.
  • Whether it needs to remember anything. A brochure site shows information. Sign-ins, bookings, saved orders or anything people type in and come back to mean you're building a web app, which changes the tools you need.

Different kinds of sites have different must-haves. We've written a guide for the most common ones:

3. Step 2: choose how you'll build it

There are four main ways to build a website today. None is right for everyone, so here's what each is good at and what it costs you in control.

A website builder (Wix, Squarespace and others). You pick a design and edit it by dragging blocks around in the browser. Hosting is included, and the builder looks after security and updates. It's the gentlest start. The trade-offs: you stay on that platform, and features such as your own domain or selling online usually need a paid plan. Wix's free plan, for example, puts Wix branding on a wixsite.com address; Squarespace has no free plan, only a 14-day trial. If you're weighing them, see Wix alternatives and Squarespace alternatives.

WordPress. Free, open-source software that runs a huge share of the web, with themes and plugins for almost anything: blogs, shops, bookings, memberships. It needs a server that runs PHP and MySQL or MariaDB, usually cPanel hosting, and you keep WordPress and its plugins up to date yourself. On Cloudzyro that's Web Hosting, which installs WordPress in one click.

An AI website builder. You describe the site in plain words, the AI builds it in a live preview, and you change it by chatting. It's the quickest way from an idea to a finished, custom site, and unlike a drag-and-drop builder you end up with real code you can download. Our own is Cloudzyro Agent; others include Lovable, Bolt and v0.

Writing the code, with or without an AI coding tool. You write HTML, CSS and JavaScript, or use a framework such as Next.js or Astro, often with Claude, ChatGPT, Cursor or Codex doing much of the typing. It gives you full control and the most to learn. You choose your own host.

A quick way to decide:

  • You want the fewest decisions and don't mind a monthly fee: a website builder.
  • You want a blog with years of plugins behind it, or you already know WordPress: WordPress on cPanel hosting.
  • You want a custom site fast, without code, that you own: an AI builder.
  • You're a developer, or want to become one: code it, with an AI coding tool if you like.

4. Step 3: start from a template, not a blank page

Whichever route you choose, starting from a finished site and changing it is faster than starting empty, and you inherit decisions someone already got right, such as where the menu goes on a phone and how a contact form is labeled.

Cloudzyro's free website templates are complete sites, open source under the MIT license, each with its words in one file. Deploy one and edit it yourself, or open it in Cloudzyro Agent and describe what to change. A few to start from:

Each template page has an Edit with Agent button. For example: Edit the Restaurant template with Cloudzyro Agent. The Agent asks for your business details, colors and content and fills them in.

If you'd rather start from nothing, describe the site to Cloudzyro Agent and it plans it with you first.

5. Step 4: choose a domain name

Your domain is your address, such as bluedoorbakery.com. You rent it a year at a time from a registrar, and it's the one part of a website most people pay for even on a free plan. Common endings cost about $20 to $45 a year.

Pick something short, easy to spell when you say it out loud, and close to your name. Check the renewal price, not only the first year's. You don't need the domain before you build: you can build on a free address and connect the domain when you're ready.

More in how to choose a domain name and what a domain name is. You can search for and register one with us.

6. Step 5: plan the pages

Most small sites need fewer pages than people think. Start with the pages that answer your visitors' first questions and lead to your main action, then add more when people keep asking the same thing. A typical small business site:

  • Home: what you do, for whom, and the main action, all visible without scrolling on a phone.
  • Services, menu or work: what you sell or have made, with prices if you can share them.
  • About: who you are and why someone should trust you. Real names and real photos beat stock photos.
  • Contact: how to reach you, where you are, your hours, and a form or a button that does the main action.

Sketch each page as a list of sections from top to bottom before you build anything. It takes ten minutes and saves hours of rearranging later. Keep the menu to five items or fewer.

7. Step 6: write your words and gather your photos

This is where most of the time goes, and it's the part that decides whether the site works. Builders and AI give you a layout and placeholder text; only you know your prices, hours, story and what makes you different.

  • Lead with what the visitor wants, not with your history. “Wood-fired pizza in Portland, open until 11” beats “Welcome to our website”.
  • Write short. One idea per paragraph, and headings that say something on their own.
  • Be specific. Prices, times, places and numbers build trust; vague claims don't.
  • Use your own photos where you can, at a sensible size. A phone photo in good daylight beats a generic stock image.
  • Check every fact yourself. If AI drafts text for you, read it out loud and fix anything it guessed. A confident wrong opening time is worse than none.

8. Step 7: build it

How this step looks depends on the route you chose in step 2.

With Cloudzyro Agent. Describe the site in one clear message: who it's for, the pages, the main action and the style. In Plan mode the Agent asks questions and writes a plan you agree before it builds; in Build mode it starts straight away. Watch the live preview, ask for one change at a time, and attach your logo, photos or a PDF of your price list. The full walkthrough, with an example first message, is in how to build a website with AI. Building a full app with sign-in and saved data is a step further: see how to make an app with AI.

With an AI chat or coding tool. Ask Claude, ChatGPT, Cursor or Codex to build the site as a project folder, then connect it to Cloudzyro so it can put the site online for you. Setup for each is on Claude, ChatGPT, Cursor and Codex, and there's a step-by-step in how to build a website with ChatGPT.

By hand. A website can be as small as one HTML file. This is a complete page that works on phones and computers:

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Blue Door Bakery | Fresh bread in Portland</title>
    <meta name="description" content="Sourdough, pastries and coffee on Alberta Street. Open Tuesday to Sunday from 7am.">
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <header><h1>Blue Door Bakery</h1></header>
    <main>
      <p>Sourdough, pastries and coffee on Alberta Street.</p>
      <a href="tel:+15035550123">Call to order</a>
    </main>
  </body>
</html>

Add pages as more HTML files and link them together, or use a framework such as Astro or Next.js once you want shared layouts and components. Our Resume template is plain HTML and CSS with no build step, a good one to read.

With a website builder or WordPress. Pick a template or theme, replace its content page by page, and remove the sections you don't need rather than leaving them half-filled.

9. Step 8: make it work on phones

For many sites, most visits come from phones, and Google looks at the mobile version of your pages when it decides how to rank them. Before you publish, open every page on a real phone and check that nothing scrolls sideways, text is readable without zooming, buttons are easy to tap and forms are easy to fill in.

Templates, builders and AI tools usually get the layout right. The usual problems come from content added afterwards: a huge photo, a wide table or a long word. How to find and fix each one is in how to make a website mobile friendly.

10. Step 9: get the search basics right

You don't need to be an SEO expert to give a new site a fair start. Do these on every page:

  • A unique page title that says what the page is and who it's for, such as “Wedding Photographer in Austin | Ana Ruiz”.
  • A meta description of one or two sentences. Search engines often show it under your title.
  • One main heading (H1) that matches the page, and subheadings that describe what's under them.
  • Alt text on images that carry meaning, so screen readers and search engines know what they show.
  • Real, specific text. Name your town, your services and the questions customers ask. Pages made mostly of images give search engines nothing to read.
  • A sitemap, then add your site to Google Search Console and submit it, so Google finds every page.

Google's own SEO starter guide, linked at the end, is short and worth reading once.

11. Step 10: put it online

A website builder publishes with a button. Everywhere else, you put your site's files on a host. On Cloudzyro you can do it three ways:

  • Ask your AI tool, once it's connected: “Put this site online with Cloudzyro.”
  • Upload the site's folder or a zip in the console.
  • Connect a Git repository on GitHub, GitLab, Bitbucket or any Git host, so every push goes online by itself.

Sites built in Cloudzyro Agent publish with its Publish button, which first checks each page like a visitor would, including how it fits on a phone. Your site goes live at a free yourname.cloudzyro.app address with HTTPS, usually about a minute after the build starts. The free Launch plan allows business use.

For the details of each route, see how to publish a website. If you're putting a built app or a site from Git online, how to deploy a website covers builds, environment variables and rollbacks. To keep it free, see how to host a website for free, and for every kind of hosting, how to host a website.

12. Step 11: connect your domain

Add your domain to your site, then add the DNS records your host shows wherever your domain's DNS is managed. On Cloudzyro that's a CNAME record for www pointing to domains.cloudzyro.app, and an A record for the bare domain pointing to 173.234.137.167, so people who type it without www arrive too. It usually goes live within 5 to 15 minutes, with HTTPS set up for you. Your own domain is free to connect on every plan, and if you buy the domain from us we add the records ourselves.

Step-by-step help, including how to check the records: how to connect a domain to a website. If it's not working after an hour, DNS propagation explains what's going on.

13. Step 12: add forms, email, payments and data

A simple site is a set of files, and that's a good thing: it's fast, cheap and has no server to break. Some features need something more. Add only the ones you need:

  • A contact form. Send it to a form service, or to your own API route if your site runs a server. Our templates post forms to a form service you choose.
  • Email on your domain, such as hello@yourbakery.com. Use an email provider or cPanel hosting, which usually includes mailboxes. Email works through MX records, so leave those alone when you point your website somewhere new; see what an MX record is.
  • Taking payments. For a few products, hosted payment links from Stripe or Paddle are enough, and card details never touch your site. Our Ecommerce store template works this way. For a big catalog with stock and shipping rules, a commerce platform is the better fit. See how to start an online store.
  • Accounts, bookings and saved data. Keep data in a database such as Supabase or Neon. On Cloudzyro, files a site writes while running are reset on every deploy, so a database is where data belongs. See how to connect Supabase.

If your site has grown into an app, how to build an app without coding and how to build a SaaS pick up from here.

14. Step 13: launch, then keep it up to date

Before you tell anyone, run through this list:

  • Every link and button works, and the main action does what it says.
  • The contact form arrives where you expect. Send yourself a test.
  • Each page has its own title and description.
  • It loads quickly on a phone on mobile data, not only on your office Wi-Fi.
  • Your domain works with and without www, over HTTPS.
  • Prices, hours, addresses and names are correct.

After launch, a site that's accurate beats a site that's big. Change prices and hours the day they change, add a page when customers keep asking the same question, and check your contact form every month or so.

Every deploy on Cloudzyro is saved as a version: the free plan keeps your last 5 to restore in a click, Boost keeps 10, and you can download any version's files. If an update goes wrong, restore the previous one and try again.

15. What it costs

  • Building it: free with a template you edit yourself. Cloudzyro Agent's Free plan has 50 credits a month (up to 15 a day) and your first build free; Pro starts at $25 a month.
  • Hosting: Cloudzyro's Launch plan is free, business use included. Boost is $20 a month per site for more memory, CPU and traffic, and apps that never sleep. WordPress needs PHP hosting, such as our Web Hosting.
  • A domain: about $20 to $45 a year for common endings.
  • Extras you might add: an email provider, a form service, payment fees.

For a fuller picture, including what designers and agencies charge, see how much a website costs.

16. Sources

Checked on November 25, 2026.

Questions

How do I build a website for free?
Start from a free template or describe your site to an AI builder, then publish it on a free plan. Cloudzyro Agent's Free plan includes 50 credits a month and your first build free, and Cloudzyro's Launch hosting plan is free with business use allowed. The only thing you usually pay for is your own domain, about $20 to $45 a year for common endings.
Can I build a website with no coding experience?
Yes. Website builders such as Wix and Squarespace, and AI builders such as Cloudzyro Agent, let you build a complete site without writing code. With an AI builder you describe the site in plain words and ask for changes the same way.
How long does it take to build a website?
A small business site of four or five pages takes an afternoon to a weekend with a builder or AI, most of it spent writing your own words and choosing photos. Putting the finished site online takes minutes, and connecting a domain usually another 5 to 15 minutes.
What's the best way to build a website?
It depends on what you want to control. A website builder is easiest but keeps you on its platform. WordPress suits blogs and sites with lots of plugins. An AI builder is fastest from an idea to a finished site and gives you real code. Writing it yourself gives full control and takes the longest.
Do I need hosting and a domain to build a website?
You need hosting to put the site online, and a domain if you want your own address. Website builders include hosting. Elsewhere you choose a host; Cloudzyro gives every site a free yourname.cloudzyro.app address, and you can connect your own domain on any plan.
How much does it cost to build a website?
From nothing for a site on a free plan at a free address, to a domain at about $20 to $45 a year, to a monthly plan if your site needs more. Paying a designer or agency costs far more. Our guide to how much a website costs breaks it down.

Put your site online free

From your AI tool, Git or a zip, with every version kept.