Web hosting demystified

Products mentioned
Your real estate on the web

What is web hosting? Well, think of a website as a house. All houses need an address and a piece of land where the house sits. Websites work similarly.

Domain names are like a house’s street address. It’s where people go to visit your website.

Web hosting is like the land where you build your house. This is the space on the internet where you place your website’s files. Typically, web hosting runs on a server owned by a web hosting company – your web hosting is just a small section of that server.

Since web hosting is such a commonly used term, we usually shorten it to “hosting” – not to be confused with having people over for a braai on a Sunday afternoon.

Every website on the internet, no matter how big or small, must have a domain name and web hosting.

Back to websites. If you want to really understand how websites work, let’s use the housing analogy again.

  • If you have a domain name but no hosting, it’s like having an address but no land. You can tell visitors where to go, but there’s nothing to show them once they get there.
  • If you have hosting but no domain name, you could have built Sandton City, but you have no way of telling anyone how to get to it.
  • If you have a domain name and a hosting account – that’s where the magic begins. People go to your domain name or address and see your beautifully built website/house.

A quick detour

How does that link happen, though? Much like cities and towns use an agreed-upon system of numbering houses and naming streets, the internet has a similar agreed-upon system of numbers and names called the Domain Name System, or DNS, to link domains to hosting accounts.

By using DNS, computers can find websites. It’s kind of like a GPS system routing you from your house to a friend’s house for a party. It’s not a perfect analogy, but it’s close enough for you to get the gist of it.

At our destination

Now that you understand what hosting’s for and how it’s used, we can talk about how it works.

In its simplest terms, hosting is an empty plot of server space waiting to house your website’s files. It doesn’t really “come to life” until you upload your website to it.

For most websites, uploading files to hosting accounts means establishing a File Transfer Protocol (FTP) connection.

FTP connections are simply a way for two computers to transfer files between each other.

In this case, the transfer occurs between the website owner’s computer and the website’s hosting account (remember, a hosting account is just a section of a server, which is a fancy computer). After all the website’s files are on the hosting account, they’re ready to be seen on the internet.

Opening the right door

Your website is likely to be just one of many on a server, though. How does it know to display your website instead of your neighbour’s?

When the server receives the DNS request, it gets parsed through a Web Server application, which knows which domain names have websites on the server and where their files are. If the domain name has a website on the server, the Web Server application gives the files to the computer requesting them, the website displays, and the peasants rejoice!

However, if the request comes through for a domain name not on the server, the Web Server application returns a 404 error, which means the website can’t be found at this location. Since computers are pretty smart, putting through the same request again is going to return the same error – it’s not analogous to not finding your keys, unfortunately.

You can’t keep digging until you finally find what you’re looking for. Still not sure? Here’s how you can get going – fast.

If you’re pressed for time or still feel intimidated by the jargon and technicalities, you can fast-track building your website by using the GoDaddy Website Builder. This mobile-friendly website builder is so easy to use you don’t even need a laptop or desktop computer – just use your trusty smartphone.

You can start with a simple, customised website that provides information about you and contact details for your business. Then add advanced features like e-commerce or online appointments as your needs evolve. It’s a great way to familiarise yourself with search engine optimisation, analytics, blogging and other digital tools.

With the GoDaddy Website Builder, hosting is part of the package and you don’t need to think too much about the land on top of which your ‘house’ is built. When you’re ready to publish your site, GoDaddy makes it cheap and easy for you to buy your own domain e.g. jozifashions.co.za, or you can just use a free subdomain on the godaddysites.com domain e.g. jozifashions.godaddysites.com.

Stay a while

This is just the most basic information about hosting accounts. There’s a lot more to learn if you’re interested – FTP users, directory permissions, database connection strings and more. But if you’ve followed this introductory tour, you’re well on your way to becoming an educated website owner.

This article has been adapted from an original piece by Sean Loiselle.

Image by: Business vector created by fullvector - www.freepik.com

Stefano Maruzzi
Stefano has an extensive background of building and leading global teams in technology and media organizations. A professional journalist and book author based in London, Stefano is passionate about technology and innovation.