If your hosting package includes subdomains, which are essential additional third-level domain names, you can leverage them to enhance your website's structure and functionality. Subdomains offer a flexible way to manage different sections of your site or host entirely separate websites without the need to register new main domain names.
Key Benefits of Using Subdomains:
- Logical Site Organization: Subdomains allow you to structure your website content in a clear and intuitive manner, making it easier for visitors to navigate.
- Cost-Effective Hosting: Host additional websites or distinct parts of a larger website on the same server, eliminating the need to purchase and register additional domain names.
Consider this example to illustrate the utility of subdomains: If you operate a website, your-product.com, dedicated to promoting and selling a specific product, you might want to create a dedicated section for customer support or order tracking. By organizing a subdomain named "orders," your users could directly access this specific information by visiting orders.your-product.com. This creates a memorable and logical address for a specific service.
Crucially, subdomains are treated with the same status as your main additional domains within Plesk. This means you have access to a comprehensive suite of tools and services for managing your subdomains, including SSL/TLS protection, the Sitejet Builder, detailed web statistics, and more. This ensures a consistent and robust management experience across all your web properties.
How to Set Up a Subdomain in Plesk Obsidian
To establish a new subdomain for a specific division of your site or an entirely separate web presence, follow these straightforward steps:
- Navigate to the Websites & Domains section in your Plesk control panel.
- Click on the Add Subdomain button.
- Proceed to specify the necessary details:
- In the Subdomain name field, enter the desired prefix for your subdomain. This will be the portion of the address that precedes your main domain name (e.g., "blog" for blog.yourdomain.com).
- In the Document root field, define the exact location of the directory on your server where all the files and subdirectories for this new subdomain will reside. You have the flexibility to either utilize the default directory of your main site, commonly named httpdocs, or specify an alternative, dedicated directory for the subdomain's content.
- Click OK to finalize the creation of the subdomain.
Upon successful creation, your new subdomain name will appear in the list displayed at the bottom of the screen within the Websites & Domains section.
Once the subdomain is set up, you can proceed to upload your web content to its designated directory on the server. For detailed guidance on this process, refer to the Website Content section, specifically the Uploading Content Using FTP subsection.
Configuring Wildcard Subdomains
For advanced domain management, Plesk offers the functionality to create a wildcard subdomain. This is achieved by entering an asterisk (*) symbol as the subdomain name during the creation process. A wildcard subdomain serves as a catch-all; if site visitors attempt to access any subdomain name that has not been explicitly registered in Plesk, they will be automatically redirected to this designated wildcard subdomain.
It's important to note that you can establish wildcard subdomains at any level of your domain name hierarchy. For instance, you could create a *.mystore.example.com subdomain to cover all sub-subdomains under "mystore." To delve deeper into the capabilities and configuration of wildcard subdomains, consult the Adding Wildcard Subdomains (Linux) section of the Plesk documentation.
