Adding Subdomains

Watch the video tutorial

If your hosting package includes subdomains, which are additional third-level domain names, then you can use them to:

  • Organize logically the structure of your site.
  • Host additional websites or parts of a website on the same server without the need to pay for registration of additional domain names.

An example of using subdomains:

You have a website your-product.com dedicated to promoting and selling your product. For publishing information related to customer service and online order tracking, you can organize the subdomain "orders" so that your users will be able to access this information directly by visiting the Internet address "orders.your-product.com".

As subdomains have the same status with the additional domains, you can use the same set of tools and services for working with subdomains. For example, SSL protection, Presence Builder, web statistics, and so on.

To set up a subdomain for a site division or a separate site:

  1. Go to Websites & Domains.
  2. Click Add Subdomain.


    Add_subdomain

  3. Specify the following:
    1. In the Subdomain name box, type the portion of address that will be added to the domain name of your main site.
    2. In the Document root box, type the desired location of the directory where all files and subdirectories of this site will be kept. You can use the default directory of the main site, called httpdocs, or specify another directory.
  4. Click OK.

    The new subdomain name is now shown in the list at the bottom of the screen.

You can now upload your web content to the subdomains webspace (directory on the server), as described in the Website Content section, the Uploading Content Using FTP subsection.

Wildcard Subdomains

If you enter the asterisk (*) symbol as a subdomain name, Plesk will create a so-called wildcard subdomain. When site visitors enter any subdomain name that is not registered in Plesk, they will be redirected to this wildcard subdomain. You can create wildcard subdomains on any domain name level. For example, you can create the *.mystore.example.com subdomain. Learn more about wildcard subdomains in the section Adding Wildcard Subdomains (Linux).

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.