- Log in to your Plesk panel.
- Go to Subscriptions → Select the domain you want to change.
Note: Once you change your main domain name, all subdomains will be automatically changed under the created main domain.
- Select Hosting & DNS → Hosting.
- In the ‘Domain Name‘ field, type your new domain name and save it.
- Once you change your domain name, reissue the SSL certificate for all subdomains under the created main domain.
- Select Dashboard → SSL/TLS Certificates.
- Choose Reissue Certificate
- Click the Install button under ‘Install a free basic certificate provided by Let’s Encrypt‘.
- Enter your email address.
Select the options according to your needs and choose ‘Get it Free‘ to reissue the certificate.