How to add a subdomain in Plesk

A subdomain is an address like shop.example.org or test.example.org. It is usually a separate site: a store, a blog, a test copy. A subdomain has its own folder and settings.

Creating a subdomain

  1. Open Websites & Domains and click Add Subdomain.
  2. In Subdomain name, enter the subdomain, for example shop. Select the parent domain on the right.
  3. In Document root, set the subdomain folder. The panel usually fills it in from the subdomain name; keep it so that files of different sites do not mix.
  4. Click OK.
The Add a Subdomain form
The Add a Subdomain form

The subdomain appears in the Websites & Domains list with its own card. Upload files to its folder with the file manager or FTP.

DNS for a subdomain

  • If the domain uses the hosting DNS servers, the subdomain record is created automatically; you do not need to do anything.
  • If another provider hosts the domain's DNS, create an A record for the subdomain there, pointing to the same address as the main domain. Details: DNS in Plesk.

SSL for a subdomain

The main domain's certificate does not cover the subdomain. Once the subdomain opens over http://, issue a separate free certificate on its card: SSL in Plesk.

Common mistakes

  • Document root is set to the main site's httpdocs folder, so the subdomain shows the main site and files get mixed up.
  • The full name (shop.example.org) was entered. Enter only the part before the dot.
  • The subdomain does not open with an external DNS provider because the A record is missing.
Questions and answers
With the hosting DNS, usually a few minutes. With external DNS, up to 24 hours after you add the record.
A subdomain has no email of its own. Use mailboxes on the main domain.
On the subdomain card, open the menu (three dots in the row) and choose to remove it. Its files are deleted too, so save a copy first.