You need a domain name, hosting, and a website builder or code editor — then you connect them together

A business website lives on the internet because it sits on a server (a computer that stays on all the time) and has an address people can type into a browser. That address is your domain name — something like yourcompany.com. The server space where your files live is called hosting. To actually build the pages, you use either a website builder (which has a visual editor and handles the technical parts for you) or code directly (using HTML, CSS, and JavaScript in a text editor). Most small businesses use a builder because it is faster and does not require learning to code.

The three parts — domain, hosting, and builder — can come from one company (like Wix or Squarespace) or separate companies (like GoDaddy for the domain, Bluehost for hosting, and WordPress for the builder). Starting with one company is simpler because they talk to each other automatically. Separating them gives you more control and sometimes costs less, but you have to connect the pieces yourself.

Key Takeaways

  • A domain name (yourcompany.com) costs $10 to $15 per year and is separate from hosting, though many builders bundle them together.
  • Website builders like Wix, Squarespace, and WordPress.com handle hosting and let you build pages by dragging elements around instead of writing code.
  • If you use a code editor like VS Code, you write HTML and CSS yourself, then upload the files to a hosting provider like Bluehost or Linode.
  • Most small business websites take one to four weeks to build, depending on how many pages you need and whether you hire a designer.
  • You can start free with many builders (with their domain name attached) and move to your own domain later without losing your work.

Website builders: the fastest route for most businesses

A website builder is software that lets you create pages by clicking and dragging instead of writing code. Wix, Squarespace, Shopify, and WordPress.com are the most common. You log in, pick a template that matches your industry, then replace the sample text and images with your own. The builder handles all the hosting and technical setup — you just pay a monthly fee (usually $10 to $30) and your site stays online.

Each builder has different strengths. Wix and Squarespace are good for portfolios, restaurants, and service businesses because they have polished templates and built-in contact forms. Shopify is built for selling products because it includes a shopping cart, payment processing, and inventory tracking. WordPress.com is flexible and works for almost any business, but it has a steeper learning curve than the others.

The trade-off is control. A builder owns the underlying code, so you cannot modify it the way you could if you wrote the code yourself. If you outgrow the builder's features, moving to a different platform means rebuilding your site. But for a business starting out, a builder saves months of work and hundreds of dollars in developer fees.

Building with code: when you need custom features

If you write the code yourself, you use a text editor (VS Code, Sublime Text, or Atom are free or cheap) to write HTML for the structure, CSS for the design, and JavaScript for interactive features like dropdown menus or form validation. You save these files on your computer, then upload them to a hosting provider — a company that rents you server space. Bluehost, Linode, DigitalOcean, and AWS are common choices, ranging from $5 to $50 per month depending on how much traffic you expect.

This route takes longer because you are building from scratch, but it gives you complete control. You can add features a builder does not offer, change the design without limits, and move your site to a different host without rebuilding. You also own all the code, so if you hire a developer later, they can modify anything.

The catch is that you need to know HTML, CSS, and probably JavaScript. If you do not, you have two options: learn (there are free courses on Codecademy, freeCodeCamp, and Khan Academy), or hire a developer to build it for you. A freelance developer on Upwork or Fiverr might charge $500 to $5,000 depending on complexity. A local agency usually costs more but handles ongoing updates.

Registering a domain name and connecting it to your site

Your domain name is the address people type: yourcompany.com, yourcompany.net, or yourcompany.co. You register it through a registrar — a company authorized to sell domain names. GoDaddy, Namecheap, Google Domains, and Hover are common registrars. Registration costs $10 to $15 per year for a .com domain. Other extensions like .net or .co cost about the same. Some extensions like .io or .agency cost more.

If you use a website builder, the builder usually includes a free domain for the first year or lets you register one directly through their site. If you register separately, you need to point the domain to your hosting. This means changing the domain's nameservers (the addresses that tell the internet where your site lives) to match your hosting provider's nameservers. Your registrar and hosting provider both give you these addresses, and you paste them into your registrar's settings. It usually takes a few hours to a few days for the change to spread across the internet.

If you start with a free site on a builder (like yourname.wix.com) and later buy your own domain, you can connect it without losing your work. The builder lets you point your new domain to the existing site.

What you need to put on your business website

Most small business websites have five to ten pages. A service business (plumber, accountant, therapist) typically needs a home page, an about page, a services page, a contact page, and maybe a testimonials or blog page. A product business needs a home page, product pages, an about page, a contact page, and a shopping cart (if you are selling online). A portfolio business (designer, photographer, writer) needs a home page, a portfolio or gallery page, an about page, and a contact page.

Every page should have your business name, phone number, and email somewhere visible — usually in the header or footer. A contact form is more useful than just listing your email, because people are more likely to fill out a form than type an email. Most builders have a contact form tool built in. If you are coding yourself, you can use a service like Formspree or Basin to handle form submissions without writing backend code.

A home page should answer three questions in the first few seconds: what you do, who you serve, and what the visitor should do next (call you, fill out a form, browse products). An about page should be short — most people do not read long bios. A services or products page should list what you offer with prices if you are comfortable sharing them. A blog is optional but helps with search engine visibility if you post regularly (at least once a month).

Making your site visible in search results

Search engine optimization (SEO) means writing your pages in a way that helps Google and other search engines understand what you do and show your site to people searching for it. You do not need to pay for SEO or hire an informed — basic SEO is free and built into most builders.

The main things are: use clear page titles (like "Plumbing Services in Denver" instead of "Services"), write a short description under each title (called a meta description), use headings to organize your content, and mention your location and what you do in your text. If you have a blog, write posts about questions your customers ask — if someone searches "how to fix a leaky faucet" and you have a blog post about it, Google may show your site.

Most builders have a built-in SEO tool that tells you if your page title is too long, if you forgot a description, or if you used a heading. You do not need to do anything fancy. The goal is to make your site straightforward for search engines to read, not to trick them into ranking you higher.

Hosting and security: keeping your site online and safe

Hosting is the service that keeps your site online 24/7. A hosting provider runs servers in data centers and rents you space on one. When someone visits your site, their browser connects to that server and downloads your pages. If the server goes down, your site is unreachable until it comes back up.

Most hosting providers may provide 99% uptime, which means your site might be down for about 7 hours per year. Shared hosting (where your site shares a server with hundreds of others) is cheapest at $5 to $15 per month but is slower if other sites get a lot of traffic. Virtual private servers (VPS) give you more resources and cost $10 to $50 per month. If you use a website builder, uptime is their responsibility — you do not have to think about it.

Security means protecting your site from hackers and making sure visitor data is encrypted. Most builders include security automatically. If you code yourself, you should use HTTPS (a find connection) — your hosting provider can set this up for free using Let's Encrypt. You should also keep your software updated, use strong passwords, and back up your files regularly. If you take payments, you need to follow PCI compliance rules, but most builders and payment processors handle this for you.

Frequently Asked Questions

How much does it cost to build a website?

A website builder costs $10 to $30 per month plus $10 to $15 per year for a domain name. If you code it yourself, hosting costs $5 to $50 per month depending on traffic. If you hire a developer, expect $500 to $5,000 for a basic site. The total first-year cost for a small business is usually $200 to $500 with a builder, or $1,000 to $10,000 if you hire help.

Can I build a website without knowing how to code?

Yes. Website builders like Wix, Squarespace, and WordPress.com are designed for people without coding experience. You drag elements onto a page, type your text, and upload images. No coding knowledge is needed. If you want to code, you can learn for free on sites like Codecademy or freeCodeCamp, but it is not required.

How long does it take to build a website?

With a builder, you can have a basic five-page site online in one to two weeks if you work on it a few hours per week. If you code it yourself, expect four to eight weeks depending on complexity. If you hire a developer, timeline depends on the scope, but usually two to six weeks for a small business site.

Should I use a builder or code it myself?

Use a builder if you want to launch quickly, do not want to learn code, and do not need custom features. Code it yourself if you want complete control, plan to make frequent changes, or need features a builder does not offer. Most small businesses start with a builder and move to code later if they outgrow it.

What if I want to sell products on my website?

Shopify is built for online stores and includes a shopping cart, payment processing, and inventory tools. Wix and Squarespace also have e-commerce features. If you code yourself, you need a payment processor like Stripe or Square and a shopping cart plugin. Shopify is usually the easiest route for selling products.