Sometimes you may need to create a website that contain different niches or various topics , for example you may need to create a website that contain content about games , films , programs , music and you want to separate every specific category than the other , the solution is to create a sub-domain for every category .
Sub-domains are process which you can separate every category so that every category act like a website . Your sub-domain will be in the form of www.games.yourwebsitename.com and you can change the word ” games ” to what you want depending on the category you are going to create .
Other people use subdomain to create a forum or blog , for example their main website is www.yourwebsitename.com , the blog is www.blog.yourwebsitename.com and the forum is www.forums.yourwebsitename.com
So you can create a sub-domain for different uses , just see what you want or what is the categories needed and create a sub-domain for each category , Now let’s go to create one .
First log-in to your Cpanel and click on the ” Sub-Domains ” button .
Now under the ” Create a Sub-domain ” title you will find Root domain and Document Root fields .
In front of Root domain , write down the name of the sub-domain you want ( i.e. the name of your category )
I’m going to write webdesign as I want my sub-domain to be like that : www.webdesign.yourwebsitename.com
After writing the root domain , a value in the Document root will be automatically added , just leave what has been added , the value must be like this : public_html/the sub-domain name ( For me it will be public_html/webdesign )
And now click on ” Create ”
And now what if you want to upload files or folders to only this sub-domain , just open your website using FTP and access to public_html > your sub-domain nameĀ .. and then upload what you want and the files you have just uploaded will be only access through www.subdomain-name.yourwebsitename.com .




