How do I create a sub-domain?
Cheap Business Hosting allow you to create Sub Domains within your cPanel. A Subdomain is an extension of your main domain name. For example: news.mydomainname.co.uk (The added "news" is a known as a subdomain of mydomainname.co.uk).
Instructions:
- Log in to your cPanel account
- Scroll down the main panel until you see the "Subdomain" Icon
- Click on this Icon to open configuration page
- Enter the name you require before the domain (Note: if you have more than one domain with us, please select the correct one from the drop down list)
- Enter the Root Path you want this Subdomain to go to.
- Click "Create" to Complete
- Click on the "Home" button on the top left corner of panel to return to the main page
Click here to watch a video Tutorial
A real life example
To help explain what a subdomain is lets follow this real life example.
We will assume that you have a website that is located under your main folder "/public_html", your visitors accessing it via "www.mydomainname.co.uk" and you would like to expand your website with a blog using WordPress, with your visitors using "blog.mydomainname.co.uk" to access it.
- From within your cPanel account, use Fantastico to install "WordPress".
- During this installation you will be asked where you would like it to be installed and you have chosen "/public_html/myblog" as the folder name.
- Once this installation has completed we need to add a subdomain to your expanded website
- From your main cPanel homepage click on "Subdomain" icon (normally about halfway down then screen.)
- Now enter "blog" in the first box called "Subdomain"
- Choose the domain you are wanting to use from the drop down list.
- In the box called "Document Root" point to the folder you installed WordPress in, in our example this is "/public_html/myblog".
- Finally click on the "Create" button
- The newly created subdomain should now appear in a list, along with any other subdomains you may have running under your account.
Now when anyone types in "blog.mydomainname.co.uk" in their web browser it will open your WordPress blog.
