Subscribe today to our RSS feed for free or enter your e-mail address to get daily tips delivered to your inbox:

What is a Subdomain?

When you have yourself a pie, chances are you are not going to want to eat the whole thing yourself. Instead you will divide the pie into several pieces so that it is easier to manage and everybody can get some. Think of a Web hosting account in the same way. You might want to have a section of it devoted to your blog. You might want another section of it to be devoted to your favorite links. With or without subdomains this can be done. However, with subdomains the process is so much easier to navigate.

Now I will save you the horrible trouble of what goes on during the Web hosting server side of this. Trust me, it is nothing exciting and probably nothing you need to worry about just yet. Most of you should know by now that when you create a new folder inside your Web hosting account, the directory for it should look something like this:

Without Subdomain:

http://www.yoursite.com/blog

Now that is all fine and dandy, but it might be a little hard to remember. Now what if you got a different address that pointed at that same exact spot, but was easier to remember? Try this on for size:

With Subdomain:

http://blog.yoursite.com

Did you see what happened? We dropped the “www” and put in “blog”. Now that this is up there, you can drop the use of “/blog” at the end. This my friends is a subdomain.

How can you create one of these beauties on your own? Well, your Web hosting company should have provided you with a control panel when signing up for your Web hosting account. If they did, you should have a setting somewhere in there telling you how you can get it done. It differs from control panel to control panel, so I will leave that much as homework for you.

In effect you are telling the server that “http://blog.yoursite.com” points to your “blog” folder. This can be done with any folder that is inside your root or home directory. Now how would a folder look if it was inside the blog folder? Like this:

Without Subdomain:

http://www.yoursite.com/blog/mitchrules

With Subdomain:

http://blog.yoursite.com/mitchrules

Now why would you want to use subdomains? For easier navigation and organization. The shorter you are able to make a URL, the more likely a visitor is going to remember it and come back.

| More

blog comments powered by Disqus

Related Tech Tips and Tricks

What is Web Mail?
E-mail is something we all get and soon we will not be able to exist without it. In the time we live in today it is becoming more and more important to have a place to be reached on

Open Source Control Panel, Outsourced Hosting Support
On this edition of the Web Hosting Show podcast show we covered open source control panel solutions out there, domain name registration help, my thoughts on WYSIWYG editors and why outsourcing Web hosting support is both good and evil. [Download the

Web Hosting Expert Panel
I have always wanted to see more union inside of the Web hosting industry. Now there have been ideas (I have been apart of them) of creating a elite group of Web hosting related Web sites before. This

Mitch Keeler © 2009 - Sitemap | Privacy Policy
Dedicated Server Hosting provided by Layered Tech

Go to Top of Page