In this basic tutorial, we’ll show you how to set up a new subdomain for your domain. These are examples of subdomains:
Many companies are using a subdomain to better manage their site by separating the main site with a few small sites for each department. There are also some big companies use it to deliver different content to users based on their country.
In this tutorial, we’re assuming you’re using Cpanel as the control panel on your hosting.
Adding New Subdomain
1. Log in to your Cpanel dashboard. If you’re unsure where this can be accessed, try type in something like
yourdomain.com/cpanel in your browser.
2. From the Cpanel dashboard, scroll down and click on the Subdomain icon.
3. If you’d like something to have something like
demo.yourdomain.com, then simply write
demo in the text field. Then, hit the Create button. The document root directory can be left as default. This is where the content of your site will be stored.
4. Congratulations, you just created a new subdomain!