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

How to Create a Subdomain

Was this helpful?

What’s your goal today?

1. Find the right Managed VPS solution

If you’re looking for industry-leading speed, ease of use and reliability Try ScalaHosting with an unconditional money-back guarantee.

2. Make your website lighting fast

We guarantee to make your WordPress site load in less than 2 seconds on a managed VPS with ScalaHosting or give your money back. Fill out the form, and we’ll be in touch.

Please enter a valid name
Please enter a valid website
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

3. Streamline your clients’ hosting experience

If you’re a web studio or development agency hosting more than 30 websites, schedule a call with Vlad, our co-founder and CTO, and see how we can deliver unmatched value to both your business and your clients.


Need a custom cluster or professional advice?

Book a meeting and get a free 30-minute consultation with Vlad, co-founder & CTO of Scala Hosting, who will help you select, design and build the right solution - from a single data center cluster to a multi-region & multi-datacenter high availability cluster with hundreds of servers.

Book a free consultation

4. Learn how to grow your website in 2023

An all-star team of SEO and web influencers are sharing their secret knowledge for the first time in years. Learn about the future of SEO, Web Design best practices and the secrets to getting the foundation for your website to thrive. Watch the exclusive webinar.

An Exclusive Insiders Look Behind The SEO and Web Development Curtain


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.