The Lowdown: Domains vs Hosting vs Websites
Posted by CTX Admin on 24 November 2014 03:49 PM
When you have a site visitor, they use your domain name to view your website. As simple as it seems, there is a process that occurs from the time that the site visitor types in your domain and hit the Enter button.
When a site visitor enters your domain name into a browser, the domain is then translated into your server IP address. Then the server sends that user your site files, which their browser represents to them as a typical webpage. You can see that, without each of these important elements, you wouldn't have a website.
Computers communicate by using numbers, called IP addresses, to contact each other, much like you use a phone number to dial a specific person's phone. Domain names on the internet are much like entries in a phone book. The phone book tells people looking for a business what the entries are, just like the domain tells people (i.e. their computers) that a domain is hosted on the server.
Without a domain, you would have to tell your customers that your site is located at a temporary URL such as '123.456.789.123/~mysite' instead of using a domain name such as 'mysite.com', making your site appear unprofessional and impractical.
Web Hosting Servers
Web hosting, or the server, is much like the space that you rent out to have your business in. It's merely the space itself. It does not include furnishings like shelves for your products, just as the web hosting account doesn't include a site for you to sell your products.
Luckily, in the web hosting world, it's very easy to furnish the space provided by your host because you can install many different applications (kinda like widgets for your site) through our Softaculous installer in cPanel.
Without the hosting services, you won't have a place for your files to reside, so your domain would then become like a disconnected phone number in the phone directory, and your site files would have nowhere to stay.
The site files are what your visitors and potential customers actually see when going to site such as your products and services. The site files are the same as any other file you normally use, like a .jpg photograph, or .mp3 music file. Though, website files are also .php files or .html files, which are PHP scripts or HTML pages respectively.
The web hosting server knows how to read these files, which explains how the webpage looks or instructs the server to do a series of computations. These computations are things like figuring out what blog article it's supposed to send back to the viewer, or what forum post it's supposed to send back for the viewer to see.