NOTE: This writing assumes that you use a Linux distro of either Red Hat, Fedora, or CentOS. Other distributions may have a different location for webpage hosting files and/or configuration files. It further assumes that you have already installed all of the appropriate services on your server in order to make this work. If you don’t know what these are, you can refer to this post in order to learn more. Therefore, use this writing only for informational purposes. For further specifics, refer to your distro’s documentation.
– OVERVIEW / THOUGHT PROCESS –
There was a time when I had no idea what I was doing! I loved the keyboard and all that I could accomplish with it, but I was very ignorant as to the workings behind what I was making happen. As time has gone by, that has changed… but one thing will always remain unchanged: I will never forget those days!
For that reason, I love to think about the how and why. In the case of this writing, how do I create a home for a webpage and why does it work that way? In doing this, we’ll start from the beginning. The thing that must happen before a keyboard is even touched… that thing is the imagination. Without imagination, we never would have had the inspiration to create a webpage in the first place. That inspiration that our imagination gives us will bring us to the first question that we must answer before we can give our webpage a home… what do we call it?
Truth be told, we could get by without any name. We could house our webpage on a server and simply call the IP address every time we want to view it, but where’s the fun in that?!? No, we want to call it something and share what we’ve done with everyone we know. To do that, we simply have to visit any “find your domain” site on the web.
As you may have read on this site, I can’t stand GoDaddy.com’s structure when it comes to hosting websites, hosting emails, and offering other services. But there is one thing that I can’t deny they do well, and that’s register domain names. Therefore, if you’d like a quick and easy way of accomplishing this first process, I recommend godaddy.com (FOR ONLY THEIR DOMAIN REGISTERING SERVICE!!).
So now that we’ve reached the first process of creating a webpage, it’s time to create a quick reference checklist, so that you don’t have to read through the narratives and explanations later on 🙂
– QUICK REFERENCE CHECKLIST –
- REGISTER A DOMAIN NAME
- CREATE A DNS ENTRY
- SPECIFY NAME SERVER
- CREATE NEW FOLDER ON SERVER
- CHANGE PERMISSION TO FOLER
- CREATE LOG FILES
- APPEND httpd.conf FILE
- RESTART httpd SERVICE
– THE NARRATIVE (EXPLANATION) –
So what does all that mean? Well, I’ll tell you. It means that in less than 20 minutes, you’ll have a place for your webpage to be up and running just the way you like it. Here’s each of the steps in detail:
1. REGISTER A DOMAIN NAME — As I said earlier, you don’t absolutely have to do this, but if you’re planning on sharing your creations, you’ll need to complete this step. When I went to godaddy.com and typed in a domain name to see if it was available, here’s what I go back:
You can check absolutely any domain name to see if it’s available, and if it is, it’s up to you to put in your payment information to secure the domain. Once you own it, however, know that wheather it’s on your web server, or any other web server that you might rent space from, you can direct this domain name to it through the next couple of steps.
2. CREATE A DNS ENTRY —
3. SPECIFY A NAME SERVER —
4. CREATE A NEW FOLDER ON SERVER —
5. CHANGE PERMISSION TO FOLDER —
6. CREATE LOG FILES —
7. APPEND httpd.conf FILE —
8. RESTART httpd SERVICE —
Always remember… WHAT IF AND WHY NOT?!?