If you wish to change the primary domain of your package, this action requires special attention. Changing the primary domain alters the absolute path on the server, which may cause issues if your pages use this path in their application code.
See here what you need to consider when changing your package's primary domain.
Generally, changing the primary site name is not recommended. However, if renaming is necessary and you want to replace the primary domain with one already in the package, follow the instructions below, paying special attention to technical issues that may arise:
Steps to rename the primary domain to one already in Plesk:
Delete the existing domain domain2.tld from Plesk. (This affects emails, subdomains, SSL configuration, databases, etc.)
a) Log in to the myTophost Panel and select Plesk Login to access the relevant Plesk package.
b) Locate the domain already in your Plesk (domain2.tld) that you want to rename as the primary domain (domain1.tld). Select Remove Website.
a) Locate domain1.tld in Plesk and select Hosting Settings.
b) In the Domain name field, enter the new primary domain name domain2.tld and click OK.
a) Transfer the files to the correct folders via FTP or Plesk file manager.
b) Recreate subdomains, domain aliases, and email accounts through Plesk by following these instructions:
As mentioned, changing the primary domain changes the server's absolute path. Ensure that all additional domains using CMS applications (e.g., WordPress, Joomla) are updated with the new absolute path. This task should be handled by your website developer.
For example:
If the primary domain is domain1.tld:
If the primary domain changes to domain2.tld:
Contact our experts, they will be happy to help!
Contact us