Introduction
When a domain does not have an SSL certificate on the server and an HTTPS request is made to the domain, the SSL certificate that is returned from the server will be the domain marked as the "Primary Website". This is further explained in the following article:
Why does HTTPS show the website of a different domain?
This article is intended to show you how to change which website is set as the Primary Website on an IP address.
Procedure
- Login to your WHM as the root user.
- Access the "Manage SSL Hosts" tool located at "WHM / SSL/TLS / Manage SSL Hosts".
- You will see a list of all domains with an SSL certificate attached to them. To set a website as the Primary Website, click the "Make Primary" button next to the website you want to use.
If your server has multiple IP addresses, you can set each IP address to have its own Primary Website.
Please Note: In the example screenshot above, all of the SSL certificates are self-signed. It is recommended that the primary website use a valid SSL certificate, such as one acquired from AutoSSL or an SSL provider.
Comments
0 comments
Article is closed for comments.