Mobile app version of vmapp.org
Login or Join
Moriarity557

: Changing the protocol to HTTPS shows a completely different website (I never even bought SSL) When I am checking Google indexing of my site and I saw that https version show another site.

@Moriarity557

Posted in: #Https #SharedHosting

When I am checking Google indexing of my site and I saw that https version show another site.


My site: avse.edu.vn HTTPS version showing another site: avse.edu.vn/

What could be the problem? I never even bought SSL for my website. How do I fix this?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Moriarity557

2 Comments

Sorted by latest first Latest Oldest Best

 

@Chiappetta492

Usually, web hosts install SSL certificate on dedicated IP address. But in your case, your web host has installed the SSL on shared IP of web server. The shared IP address is being used by the other hosted domains and hence when browser requests on port 443 the default website will be displayed.

127.0.0.1:443, website to display ==> website with SSL cert

127.0.0.1:80, HostHeader: avse.edu.vn, website to display ==> avse.edu.vn

10% popularity Vote Up Vote Down


 

@Jessie594

This is because the server is a shared hosting environment. There are at least 300 other domains on your server with you. In such a case, most hosts will (for some reason) allow SSL on the main shared IP, which means the first person who gets an SSL gets all the traffic for any account also on the server. They do this on purpose even though there are ways to solve it with SNI. They want you to "upgrade" your hosting plan to one that comes with a dedicated IP and that will "fix it". Usually this is the 3rd level of shared hosting and will cost a bit more per month. The good news is that, usually, the host will give you a free cert with that package.

So unless you plan to get a SSL you have 2 options: Route your traffic for https/443 to normal http/80, or get a service like Cloudflare to sit as a front end, providing you with a free pseudo SSL even if you are unable to get one on the shared host.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme