Step-by-Step Guide to Create a Subdomain in Plesk

Step 1: Log in to Plesk

  1. Open your web browser and navigate to your Plesk Control Panel URL, such as https://yourdomain.com:8443.

  2. Enter your Plesk username and password, then click Log In.

Step 2: Navigate to Websites & Domains

  1. From the Plesk dashboard, go to the “Websites & Domains” section in the left-hand menu.

  2. A list of your domains will appear.

Step 3: Click on “Add Subdomain”

  1. Locate the domain where you want to create a subdomain.

  2. Under the domain, click the “Add Subdomain” button.

Step 4: Configure Subdomain Settings

  1. Subdomain Name:

    • Enter the desired name for your subdomain (e.g., blog, store, or support).

    • For example, if your domain is example.com and you enter blog, the subdomain will be blog.example.com.

  2. Document Root:

    • The document root is the directory where the subdomain’s files will be stored.

    • By default, Plesk sets the document root as /subdomain_name (e.g., /blog). You can leave this as is or customize it if needed.

  3. Choose a Subscription:

    • If you manage multiple hosting subscriptions, select the appropriate one for this subdomain.

Step 5: Save and Create

  1. Click the “OK” or “Add Subdomain” button to create the subdomain.

  2. Plesk will create the subdomain and set up its corresponding directory structure on the server.

Step 6: Upload Content to the Subdomain

  1. Navigate to the “File Manager” in Plesk.

    • Locate the folder created for your subdomain (e.g., /blog).

  2. Upload your website files or application to this directory.

Step 7: Test the Subdomain

  1. Open your web browser and go to the newly created subdomain (e.g., blog.example.com).

  2. You should see a placeholder page or the content you uploaded.

Additional Configurations

1. Install SSL for the Subdomain

To secure your subdomain with HTTPS:

  1. Go to “SSL/TLS Certificates” in Plesk.

  2. Select the subdomain and install an SSL certificate (e.g., Let’s Encrypt).

2. Configure DNS Settings

If your domain’s DNS is managed outside Plesk:

  1. Log in to your DNS provider’s control panel.

  2. Add an A record pointing the subdomain (e.g., blog) to your server’s IP address.

3. Add Hosting Features

  • Enable specific hosting features, such as PHP, databases, or email accounts, if your subdomain requires them.

Troubleshooting Tips

  1. Subdomain Not Working:

    • Ensure that the subdomain’s DNS record has propagated. This can take up to 24-48 hours.

    • Verify that the document root contains the correct files.

  2. SSL Certificate Issues:

    • Check if the subdomain has a valid SSL certificate installed.

    • Reissue or reinstall the certificate if necessary.

  3. Permission Errors:

    • Verify the folder permissions in the File Manager to ensure the subdomain has access to its files.

Benefits of Using Subdomains

  1. Organization:

    • Separate different sections of your website (e.g., blog.example.com for blogging and shop.example.com for e-commerce).

  2. Development and Testing:

    • Use subdomains for staging or testing environments.

  3. SEO Optimization:

    • Subdomains can target specific audiences or content types, improving search engine rankings.

By following this guide, you can easily create and configure subdomains in Plesk Panel, allowing you to better organize and expand your online presence.

Follow the link below for a video guide with more detail.