Introduction
If a domain without a matching HTTPS VirtualHost is requested, Apache serves the first entry in the configuration. This modification may also need to be performed for websites whose clients do not support SNI, as this change allows non-SNI clients to reach the correct website.
Procedure
To perform this change, follow these steps:
- Access your server using WHM as the root user.
- Navigate to WHM / SSL/TLS / Manage SSL Hosts.
- Locate the domain that you want to be the first in the configuration and select the option Make Primary. Doing this sets this VirtualHost as the first host listed in the VirtualHost entries.
Additional Resources
Why does HTTPS show the website of a different domain?
Comments
0 comments
Article is closed for comments.