Even though I think it’s clear for a lot of folks what you need to have a website online, it’s good to summarize it so now and then, because it can help refresh the memory, but it is also valuable information for those who don’t.
To have a website online, the most important things you need are a website (DUH!) a domain and hosting.
The website
I think it’s kinda obvious that, if you want to put a website online, you need a website. A website is just a collection of web documents (web pages) that are linked to each other. I think the most important difference between a website and a book is that in a book, you browse the pages in a linear sense (we read from left to right, by turning pages from right to left) but on a website the pages are hyperlinked to each other. This means that you don’t need to turn 200 pages to get to some information, you just click and you are brought to that page.
A website can consist of text, images, pictures, sound and other multimedia components. The choice of (how much of) which components to use is made by the web designer, after hearing what the customer wants. All of these components are glued together with HTML. We will talk about HTML another time.
Hosting
Now you have your website, all those web pages, linking to each other. For this website to be visible to others, it needs to be stored on a computer with a connection to the Internet. Yes, that can actually be any computer. To be able to cater your website to the rest of the world, you need to install a webserver. Simply put, this webserver will process the requests of pages and provide whatever information is asked from it. So if I was to put a link in this document to the page with my information and you would click that link, you are asking the webserver to display the “About Rehuël” page. The webserver would then look for the page and process the HTML to be sent to your browser. If the page is not found, you get an appropriate warning.
But to be able to cater your website to a global Internet audience, your computer will need to be online 24/7. This brings up some important questions:
- Do you have the power backup to keep your computer running constantly, even when the utility company fails?
- Is your computer strong enough to process the (possibly) thousands of page requests it will daily receive?
- Is your Internet connection wide enough to let all the requests and their responses through?
- Do you have the right security measures in place?
- Will you be able to pay all the relevant license fees
If all of these questions can be answered with “yes” you can skip to the heading “Domain name”. you are then capable of hosting your website yourself. If at least one of these questions is answered with “no” please consider using virtual hosting.
Because they know that the cost to maintain a web host are very high, some companies install very strong servers, while investing in the most important aspects, like speed, security, power. A software, capable of creating virtual web servers in small units on the machine is installed and those small virtual servers are sold. The customer does not have to worry too much about electricity failing, bandwidth problems, server security, because all these aspects are taken care off. So all you need to do is pay a monthly fee and upload your website.
Domain name
Now we have our web pages on our machine, with a connection to the Internet. On the Internet every computer is identified by an IP address, just like everyone has a postal address. But IP addresses, which consist of 4 3-digit numbers separated with dots, would not be easy to remember. The Yahoo! site is on a computer with IP 209.191.93.52, the Google site on a computer with IP 216.239.37.99, etc. Imagine having to remember all these IP addresses to be able to visit these sites. Also take in consideration that there are virtual hosting services, which means that there can be more then one website hosted on a computer with 1 IP address.
To give website names that were more human readable, understandable and memorable, the domain name was invented. These domain names are supplied by registrars, who keep a record. So when you register a domain name, you need to link it to an IP address. When this domain name is typed in the browser, it is checked against the database to see on which IP address to look for the requested website. In my case, ff you would type in www.afewgoodnotes.com, the name is checked to find out which IP to look for. Your browser then communicates with the webserver on that IP address with requests to see whatever there is stored there to be shown.
Of course there is a little more involved when there are multiple websites stored on one server, because how will he server know which site to display? An understanding of DNS could answer this, but that is a topic I will talk about some other time wrote about in this article.