WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Web Hosting Friday, December 18, 2009 
POPULAR ARTICLES
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Domain Configuration - How To Setup A Domain Name
Nav Introduction To Server Load Balancing
Nav Server Load Balancing Methods
Nav Tips On Using SubDomain
Nav Breadcrumb Navigation
FEATURED NEWS | POPULAR NEWS
View More News View More News
SPONSORED LINKS
Print| Email| Save| Discuss| Feeds


SubDomain - The Third Level Domain
Published: Friday, March 12, 2004


What is a subdomain?

A subdomain is the part of the website address before the domain name. For example, the address for WebsiteGear forum is http://forum.websitegear.com. Here, forum is a subdomain of the domain name websitegear.com. Subdomains are also known as the third level domains or canonical names. A subdomain, unlike a domain name, is not registered anywhere because it is associated with a domain name only. It can be created by the web host on the DNS server. The most commonly used subdomain is www, as in http://www.websitegear.com. However, there is no need to add www in front of the domain name. Similarly, mail server addresses often have mail as the subdomain, as in mail.websitegear.com.

Why are subdomains used?

Subdomains are commonly used to categorize portions of the website. For example, the services offered by WebsiteGear are categorized by their subdomains, such as poll.websitegear.com or rating.websitegear.com. The benefit is that the subdomain can be easily moved to another server if the category gets very popular.

Subdomains are also used by free webhosting providers to resell web space under their own domain name (e.g. http://membername.hostname.com). Each member will have their subdomain, however, they all will still share the domain name of the hosting provider.

The third reason for using a subdomain name is to load balance the web servers for a high traffic website. Multiple web servers are assigned different subdomains like www.sitename.com, www1.sitename.com, www2.sitename.com etc, though each of them contain the same application code. When the request comes from the browser, the load balancing software redirects it to one of these servers. DNS load balancing is a simple method of load balancing using subdomains pointing to different IP addresses.

Types of subdomain setup

Subdomain can be setup in different ways, although the subdomain information is stored similarly in the DNS server.
  1. Separate Site: This type of subdomain setup will the have a separate hosting account or hosting location with respect to the domain hosting account. The hosting provider usually assigns new resources (disk space, bandwidth etc.) for this subdomain and charges fees as if it is another hosting account. There is often no way to share common files (such as include files by relative path) between the domain account and subdomain account.


  2. Sub-Directory Pointing: In this case, the subdomain is pointed to a sub-directory of the web root folder. For example, subdomain.domain.ext will point to /account/www/subdomain directory. Essentially, the resources of the domain in this case are shared by the subdomain as well. Usually the hosting provider does not charge additional fees (other than subdomain setup fees). Both the domain and subdomain can also reuse the same common files (such as SSI includes) from the same shared directory location.


  3. Separate Server: This type of configuration is similar to the separate site configuration but hosted on a separate server with a different IP address. In this case the subdomain can reside at a totally different geographical location. The advantage of having a separate server for a subdomain is in load distribution among servers (by separating application functionality) or providing horizontal scaling in case of load balancing between servers (by identical replication of application code on each server).

More On Sub-Domains

More detailed discussions on subdomains and cookie handling within subdomains is provided in the next section. Click here.
Tips On Using SubDomain Next Article
Print| Email| Save| Discuss| Feeds
RELATED ARTICLES
Nav Introduction To Server Load Balancing
Load balancing applies to all types of servers (application server, database server), however, we will be devoting this section for load balancing of web servers (HTTP server) .
Nav How To Sell A Website
If you have an existing website or domain name you no longer need and wish to sell, this article will explain the steps you need to take to ensure a quick, easy, profitable sale.
Nav Website Revenue - An Introduction
Does your website make money? There are billions of websites on the internet. About 30 million domain names are registered. But among these, how many of the websites do make money?
RELATED NEWS
News Post China's New Domain-Name Limits: More Web Censorship?
This week, the Chinese agency that oversees the country's Internet domain name registry announced it will limit the system to...
News Post Twitter hacked by "Iranian Cyber Army"?
Micro-blogging site Twitter said its domain name system records were temporarily "compromised" Thursday night, but that the p...
News Post Carnegie Council Posts Two Papers on U.S.-Russia Relations and the Arctic
NEW YORK, Dec. 18 /PRNewswire-USNewswire/ -- New computer modeling suggests the Arctic Ocean may be nearly ice-free in the no...
News Post SRI International and State and Regional Leaders Convene for Ribbon Cutting at New SRI Facility in St. Petersburg, Florida
ST. PETERSBURG, Fla., Dec. 18 /PRNewswire/ -- Congressman C.W. Bill Young, St. Petersburg Mayor Rick Baker, and officials fro...
News Post Register your domain name
Your domain name is your address on the internet and gives you an online identity or brand....
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad Register it domain name from IX-ONE Domain hosting
IT is Now Available on IX-ONE Storefront: .IT is Italy's official top-level domain, but it's also a ...
Classified Ad .MX -- the domain name Pre-Registration
If you want the functionality of a .COM Domain, but need a top-level domain name that tells visitors ...
Classified Ad Register .es domain name only $14.99 on IX-ONE
.ES Domain Registration In fact, Spanish speaking communities around the world have adopted es do ...
Classified Ad Register a .BZ Domain Name IX-ONE.COM
With many of the best .COM domains already taken, .BZ offers fresh opportunities for niche marketing ...
Classified Ad A Domain with SmartSpace site
Discover the site that's smart enough to adjust to your life and style. Just like smart homes, smart ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post Redirect Domain to new subsite
My apologies if this is a dumb question: We have 20 location sites on their own domains (with th ...
Forum Post Strange problem with domain name configuration
We have a few domain names registered with Network solutions. Recently, we changed web hosts. In t ...
Forum Post Parent servers say that the domain does not exist
I have a certain question related to DNS configuration: 1) a week ago my internet domain SKARBIEC ...
Forum Post DNS Records For Google Apps For Your Domain ERROR
I'm trying to use Google Apps for Your Domain, and have pointed webearce.com.ar to editDNS ser ...
Forum Post problems with forward and reverse lookup tables
Hi guys, I'm working as beginner IT in a new company. One of the first things they ask me to do ...
Add New Post | View More View more forum posts


Copyright © 2003-2009 WebsiteGear Inc. All rights reserved.
About | Advertise | Submit Content | Privacy | Agreement | Contact