Choosing the correct logo and positioning ads strategically are but two of the many facets of web promotion. Here you\'ll learn some basics of website marketing.  Home Site Maintenance Web Promotion What is a Subdomain?
Your Ad Here

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:

Subdomain example: Web Design Library


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.

Author's URL: Mitch Keeler
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Read about the most important web services: web promotion, domain registration and website hosting. All web developers need this website maintenance stuff. More Site Maintenance: Most Popular Materials | Fresh Materials | Website Templates

Add comments to "What is a Subdomain?"

Only registered users can write comment

Reader's comments
comments James January 03, 2005 says:
What is a Subdomain?
Mitch Keeler wrote:
How can you create one of these beauties on your own?


Not sure that it's a beauty. As for me there's no crucial difference between

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

With Subdomain:
http://blog.yoursite.com/mitchrules

I really doubt that the second variant is easier to remember...