How Does Web Hosting Work?
You will need to register a domain name for your small business website. This is done so that when people are searching for your site, they can type in an easy-to-remember slug (like the name of your business) rather than a complicated string of numbers. Once you purchase this, you’ll be pointed towards your server.
Once a person types in your domain name, the web browser connects to the files from the server and displays your site to the viewer.
When someone visits a website, they are grabbing files off a remote server called a web host. There could be dozens, thousands, or millions of visitors on a website. Some of them can be automated systems that could be deliberately trying to hack the web host to steal passwords, among other things.
Your personal computer is not set up for this because it doesn’t have to be. Most web developers today pay someone else to host their sites, and they can easily find a host to give them all they need in terms of storage and security for under $10 a month.
You can technically host a website yourself, but it’s very difficult to get right, especially for a beginner. Through a web host, you get things that you wouldn’t get on your computer at home.
- A commercially managed web host is always on. Even when it needs to reboot a couple of times a year, it will do so very quickly, and users will barely notice, if at all.
- It has a static ip number/domain name, which means that other computers reliably know how to find it. It’s also set up to work with something called a ‘domain name service’ or DNS so users can reach it by typing example.com instead of a string of numbers.
- Commercial hosting providers have a lot of specialized software, including database servers, programming language interpreters, and web servers. Your home computer might have this software, but it is not optimized to serve websites.
- Commercial web hosts have their servers in a room with good security and an uninterruptible power supply. They are used to dealing with malicious hackers and have backup processes to keep your data safe.
- This is all overseen by professionals with years of experience with doing nothing but managing web hosts.