HTTPS shows another website?

Hein Thanth

Registered
Jan 27, 2019
1
0
1
Myanmar
cPanel Access Level
Website Owner
HTTPS (port 443) shows certificate of another website. I'm host my website
Code:
http://example.com
. HTTP shows my website correctly. But when visiting as
Code:
https://example.com
, it shows data from
Code:
https://example.net
How can I fix that?
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello @Hein Thanth

Does the site actually have an SSL? The default behavior of Apache in the instance a site does not have an SSL is to display the first SSL VirtualHost for that IP address in the conf file.