| One of the most useful features offered by some | | | | Here is the solution to this problem: |
| web hosting companies, is the option of creating | | | | You create directories within the main directory with |
| sub-domains in the same web hosting account. The | | | | the names implying what they represent. So, you |
| problem is, most website owners are not aware of | | | | create a sales, inventory, news and other directories |
| why and how to create sub-domains. | | | | in the /www directory Then you add all sales web |
| A sub-domain is a web address pointing to a sub | | | | pages in the /www/sales directory, and the other |
| directory within the main website directory. The | | | | web pages to the directories where they belong. |
| website consists of files organized in directories and | | | | After organizing the web pages within sub-directories, |
| and sub-directories. | | | | someone in the sales department will be able to type |
| A directory in a website is a folder in the web | | | | the URL addrerss sales.company.com, and will be |
| hosting account. The main website files reside in a | | | | transferred the the sales sub-directory of the main |
| folder called the /WWW folder, and this is accessed | | | | website. Notice, that you don't have to use the |
| when someone types the URL which is the domain | | | | www in the beginning of he address. |
| with a in the beginning This where the home page of | | | | Another important benefits of the sub-domains is the |
| the website and other pages, like contact us, reside. | | | | ability to create many websites within one web |
| Suppose that you start expanding your website from | | | | hosting account. After creating sub-domains, you buy |
| couple pages to tens or more, and you want to add | | | | separate domains and point them to a specific |
| to your website different categories of information, | | | | sub-directory. |
| how would you organize the information?. For | | | | For example, the sub-domain can have a totally |
| example, if your website is used for business | | | | independent domain from You can purchase a |
| reasons, and you have to add sales, inventory, and | | | | domain, like [ pointing to the same sub-directory. |
| other department information, | | | | In summary, if you aren't using sub-domains, you will |
| This is when sub-domains come into play. They serve | | | | not be able to expand your website easily beyond 30 |
| to organize your web pages in different directories in | | | | pages. also, you will not be able to take advantage |
| order to make the website maintenance mush easier. | | | | of the web server storage you get with your |
| Imagine you have hundred web pages in your | | | | web-hosting account. Today, you can easily get a |
| website placed in the /www directory, this means | | | | 500 MB. storage. If you have few pages only, you |
| every time you want to edit a webpage, you have | | | | might be using 5-20 MB and leaving over 450 unused. |
| to go through the hundred web pages. | | | | |