To remove a subdomain in Plesk, follow these steps. Deleting a subdomain will remove its associated website files, DNS settings, and other services linked to the subdomain. Make sure to back up any important data before proceeding.
Step-by-Step Guide to Remove a Subdomain in Plesk:
Step 1: Log in to Plesk
- Open your Plesk control panel by navigating to
https://your-domain.com:8443
(replaceyour-domain.com
with your actual domain or server IP address). - Enter your admin username and password to log in.
Step 2: Go to the "Websites & Domains" Section
- After logging in, click on the "Websites & Domains" tab in the main menu of the Plesk dashboard.
- This section will list all your domains and subdomains.
Step 3: Find the Domain with the Subdomain
- Under the "Websites & Domains" tab, locate the main domain that the subdomain belongs to (e.g.,
example.com
if you want to deletesub.example.com
). - Look for the subdomain listed under the main domain.
Step 4: Select the Subdomain to Remove
- Next to the subdomain you want to remove, click on the three dots or Manage button (depending on the Plesk version).
- From the dropdown, select "Remove" or "Delete" (this option may vary depending on your Plesk version).
Step 5: Confirm the Removal
- A confirmation dialog will appear, warning you that removing the subdomain will delete its website files, DNS records, and other settings.
- Review the warning carefully. If you’re sure you want to proceed, click "Yes, Remove" or "OK" to delete the subdomain.
Step 6: Subdomain Removal Process
- Plesk will begin the process of deleting the subdomain, including:
- Removing the associated files in the document root (e.g.,
/httpdocs/subdomain
). - Removing DNS records associated with the subdomain.
- Deleting any associated email accounts if configured.
- Removing the associated files in the document root (e.g.,
Step 7: Verify Removal
- Once the subdomain has been removed, it will no longer appear in the "Websites & Domains" section.
- You can verify that the subdomain has been deleted by trying to visit it in your browser (e.g.,
sub.example.com
). It should return a 404 error or show that the subdomain no longer exists.
Important Notes:
- Backup: Ensure that you have backed up any important data (e.g., website files, databases, emails) before removing the subdomain, as this process is irreversible.
- DNS Records: Deleting the subdomain will also delete the DNS records associated with it. If you want to use the subdomain elsewhere, make sure to manually update the DNS settings.
- Email Accounts: Any email addresses associated with the subdomain (e.g.,
[email protected]
) will also be deleted.
By following these steps, you can safely remove a subdomain in Plesk.