How to Create a Subdomain

Subdomains could be useful for both users and website administrators. Imagine for a moment that you have a WordPress website, and you want to add an online shop to it. Technically, there are plugins that can help you use WordPress to build an ecommerce website, but you might think that the better option is to use a dedicated application like Magento or PrestaShop. 

The two scripts can’t co-exist in the same root folder, so you’re better off creating the subdomain and using it to host your online shop. Managing the two applications will be much easier.

At the same time, by having the shop located at the subdomain, it will be easily discoverable by users, and they will be able to get to what they’re looking for with fewer clicks. Fewer clicks result in happier potential customers, and happier customers result in bigger revenues, especially when you’re selling goods or services.

There are other uses for subdomains. If you have translated your website into many different languages, for example, you can put them in different subdomains (,, etc.).

Indeed, most of these tasks can be performed with the use of subdirectories as well (e.g., or, and experts even claim that this is the better strategy from an SEO perspective. Whatever the case, subdomains are often an essential part of the structure and the management of a website.

Creating subdomains in SPanel

Creating a subdomain on your SPanel VPS takes no more than a few clicks of the mouse. Here are the exact steps:

  1. Log into SPanel’s User Interface and go to Subdomains.
    The default login URL is (make sure you substitute for your actual domain). The tool for managing subdomains is available under the Domains section on SPanel’s homepage.
How to Create a Subdomain
  1. Enter a valid domain name.
    You’ll see a drop-down menu with all your primary domain and the addon domains you’ve added to your account. Select the one you need and enter a valid subdomain. Subdomains can consist of letters, numbers, and hyphens.
How to Create a Subdomain
  1. Select the subdomain’s document root.
    You now need to pick a document root for the new subdomain. by default, SPanel creates a new folder in the account’s Home directory, but you can choose a custom folder by typing the filepath in the Document Root field.
How to Create a Subdomain
  1. Click Create Subdomain.
    After you click the Create Subdomain button, SPanel will set up the new subdomain and configure it to work with the document root (if the folder doesn’t exist already, SPanel will create it, as well). The new subdomain, along with all the existing ones, will be available in the list at the bottom of the page.
How to Create a Subdomain

Was this helpful?

What’s your goal today?

1. Sign up to our newsletter and keep up to date with the latest news. Our team consist of highly skilled ex-sysadmins and hosting veterans, ready to share their unique hosting-related knowledge with you.

Sign up for ScalaHosting monthly News Letter and we will keep you up to date about the most valuable pieces of content we publish on our blog

2. Explore our VPS Hosting - with our 30-day unconditional money-back guarantee and free, effortless migration, you can try our award-winning Managed Cloud VPS solutions risk-free.


Working in the web hosting industry for over 13 years, Rado has inevitably got some insight into the industry. A digital marketer by education, Rado is always putting himself in the client's shoes, trying to see what's best for THEM first. A man of the fine detail, you can often find him spending 10+ minutes wondering over a missing comma or slightly skewed design.

Write a Comment


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.