Creating a subdomain

Editor: Evgeniy Burovinskiy 1318 4 min Audio

We have explained what a subdomain is in this article, so now we’ll move on to creating one. The steps you need to take to create a subdomain depend on the type of control panel your hosting provider offers. So let’s go through the most popular control panels and see how to create subdomains using those.

Creating a subdomain in custom control panel

Since custom control panels are developed by hosting companies themselves, their interface and set of options may differ. Therefore, we can’t provide step-by-step instructions on each of them. One way to figure out how they work is to check the hosting company’s FAQ and find a detailed guide on creating a subdomain.

Creating a subdomain in cPanel

1. Find "Subdomains" in the "Domains" section on the homepage and click on it.

cpanel-1

2. Enter the subdomain name in text box 1. Select the main in field 2. Text box 3 should be filled automatically. If not, that’s where you enter the root catalogue address for the new website (subdomain) and click "Create".

cpanel-2

The folder is created automatically and once the website is uploaded it will start working.

Creating a subdomain in ISPmanager

1. Find "WWW domains" on the main page of the control panel.

2. Click "Create" or "Add".

3. Fill in the following text boxes:
Domain name:: the name of the subdomain you want to create.
Alias:: will fill in automatically.
Root folder: if you leave "auto" in this field, your website files should be uploaded to /www/subdomain.domain.com. If you need them to be uploaded elsewhere, type the address of the corresponding folder in this field.
Owner: select the user.
IP address: choose "enter the IP address in the next text box" in the first box. In the second one select the required IP address from the list. In some versions of this control panel, the IP address is filled in automatically and there’s only one text box.
Encoding: leave as it is.
Index page: enter the page name that will be displayed (usually that is index.php).
SSL: Check the checkbox, if an SSL certificate is going to be installed to this subdomain. In some ISPmanager versions, there are "HSTS" and "Redirect HTTP queries to HTTPS" options. For the SSL certificate to function correctly you need to check those checkboxes as well.

Creating a subdomain in PLESK

1. Select "Sites and domains" in the menu on the left.

2. Click "Add subdomain".

3. Enter the subdomain name in the "Subdomain name" text box (e.g. for test.yourdomain.com you enter "test") and select the main domain in the box to the right.

4. Enter the folder name where the website files will be located in the "Root folder" text box.

For the website to start working you need to upload the files to the root folder that will be created after filling in the details on the previous page. It might take 1-8 hours until the website becomes available. This period is required for the DNS records to propagate.

Note! You can create a subdomain in the domain settings by simply creating an A-record for the subdomain. With that done the root folder for the subdomain will not be created automatically and you’ll have to create it manually by adding the subdomain as a website. And that procedure is described above.

Evgeniy Burovinskiy
Did not find an answer to your question?
Ask the experts! Answers are quick and go directly to your email.

Adding confirmation "I'm not a robot" you also agree to receive messages from hostings.info and accept its Privacy Policy, allowing hostings.info to store and process your personal information indicated above to provide requested content.

Ratings of hosting providers by site tasks
Hosting price

We highly recommend not to purchase the cheapest hosting package. Usually, they come with a row of issues: the server is often down, the hardware is outdated, lousy and slow support, registration and payment errors, etc.

For your convenience, we have created a tool that can help you to choose the right hosting package for you just by answering a few simple questions.

CMS

CMS is a content management system. A lot of hosting providers offer so-called CMS optimized packages. However, this is a marketing trick because most CMSs do not have special software or hosting requirements.

Free trial

Trial period is a period of time, usually from 7 to 30 days, during which you can use the hosting services for free to test them.

Moneyback policy allows the customer to receive a refund for his order within a certain period after the purchase.

OS

OS means the operating system is installed on the server. We recommend to choose Linux hosting unless your website requires another OS.

Other

Bulletproof hosting - it’s a type of service that allows to host almost any type of content, even the restricted one (adult content, warez, spam etc). Bulletproof hosting providers do not remove your content in case someone reports an abuse.

Unlimited hosting - refers to companies that provide packages with unlimited disk space, bandwidth, number of domains, databases or email accounts, etc. This is usually a marketing trick but sometimes you can find something worth a try.

Secure hosting - it’s a type of service when the hosting provider is mostly responsible for the security of the user’s account: updates the software installed on their servers, provides an antivirus and malware scanner, firewalls and basic anti-DDoS protection, etc.

DDoS-protected hosting - companies that provide packages that include anti-DDoS protection. These packages are considerably more expensive than regular ones. Nevertheless, they’re totally worth their price because the company will ensure that your website is secured from cyber attacks.

Technologies

Most websites require MySQL and PHP installed on the server to work correctly. Almost all hosting providers support these technologies.

ASP.NET is a Microsoft web application development platform.

Control panel

The more comfortable the control panel is, the easier will it be for you to change the website and hosting account settings.

Most hosting providers that are in TOP20 in our rating offer user-friendly control panels, such as cPanel, Plesk or DirectAdmin. That’s why we recommend to pay attention to other, more important parameters, while choosing a hosting provider.

Disk type