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 shop.yourdomain.com 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 (fr.yourdomain.com, es.yourdomain.com, etc.).
Indeed, most of these tasks can be performed with the use of subdirectories as well (e.g., yourdomain.com/shop or yourdomain.com/fr), 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
To create a subdomain on your Scala Hosting account, you need to log into SPanel’s User Interface and click Subdomains. First, you need to choose the parent domain. By default, the drop-down menu displays your account’s main domain, but under it, you can find your addon domains as well.
Next, you need to enter a valid subdomain. Subdomains can consist of letters, numbers, and hyphens.
The third and final step is to choose the document root for your new subdomain.
By default, SPanel creates a new folder named after the subdomain inside the Home directory of your account, but you can also assign another one by pasting the path to it in the field below your new subdomain. The Create Subdomain button completes the process.
In a few seconds, SPanel will inform you about the successful creation of the new subdomain, and it will appear on the list at the bottom of the page. From the same list, you can delete existing subdomains and also change their document roots.