How to add a subdomain in Plesk? (Video)

Adding a subdomain in Plesk is a simple process. A subdomain allows you to create a new domain under your main domain (e.g., blog.example.com or shop.example.com). Here’s how to add a subdomain:

Step-by-Step Guide to Add a Subdomain in Plesk:

Step 1: Log in to Plesk

  1. Open your Plesk control panel by navigating to https://your-domain.com:8443 (replace your-domain.com with your actual domain or server IP address).
  2. Enter your admin username and password to log in.

Step 2: Go to the "Websites & Domains" Section

  1. Once logged in, click on the "Websites & Domains" tab from the Plesk dashboard.
  2. This section will display all the domains and subdomains hosted on your server.

Step 3: Select the Domain for the Subdomain

  1. In the "Websites & Domains" section, find the main domain under which you want to create the subdomain (e.g., example.com).
  2. Click on "Add Subdomain" next to the domain name.

Step 4: Add the Subdomain

  1. Subdomain Name: In the "Subdomain name" field, enter the name of your subdomain (e.g., for blog.example.com, just enter blog).
  2. Document Root: The document root field is where the files for the subdomain will be stored. By default, Plesk will automatically generate a folder in the main domain’s httpdocs folder (e.g., /httpdocs/blog). You can change this if you want a custom location.
  3. DNS Settings: Plesk will automatically create the necessary DNS records for the subdomain. Ensure that the DNS settings are set to allow the subdomain to resolve properly.

Step 5: Configure Additional Settings (Optional)

  1. SSL/TLS Support: If you want the subdomain to be secured with SSL, check the "SSL/TLS Support" box. You can configure an SSL certificate for the subdomain after creation.
  2. Mail Settings: If you want to enable email for the subdomain (e.g., [email protected]), you can enable mail for the subdomain.

Step 6: Click "OK" to Create the Subdomain

  1. After filling out the details for the subdomain, click the "OK" or "Add Subdomain" button to create the subdomain.
  2. Plesk will now create the subdomain and set up the corresponding directory, DNS records, and other settings.

Step 7: Upload Files to the Subdomain (Optional)

  1. Once the subdomain is created, you can upload files to the subdomain's document root (e.g., /httpdocs/blog).
  2. You can upload files via FTP, Plesk's File Manager, or any other method you prefer.

Step 8: Test the Subdomain

  1. After the subdomain is created, it may take some time for DNS changes to propagate.
  2. Once DNS propagation is complete, test the subdomain by entering the URL (e.g., blog.example.com) in your browser to make sure it resolves correctly.

By following these steps, you can easily create a subdomain in Plesk. Subdomains are useful for organizing content, creating separate sections of your website, or hosting entirely different sites under the same domain. Once the subdomain is created, you can manage it just like any other domain, including uploading files, setting up email, and securing it with SSL.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add a new domain in Plesk? (Video)

To add a new domain in Plesk, follow these detailed steps. This will allow you to manage the...

How to remove a domain in Plesk? (Video)

To remove a domain in Plesk, follow the steps below. Please note that removing a domain will...

How to remove a subdomain in Plesk? (Video)

To remove a subdomain in Plesk, follow these steps. Deleting a subdomain will remove its...

How to redirect a subdomain to an external URL in Plesk? (Video)

To redirect a subdomain to an external URL in Plesk, you can use URL forwarding (also known as...

How to Remove a subdomain redirect in Plesk? (Video)

To remove a subdomain redirect in Plesk, you need to undo the URL forwarding or...