HTTPS and HTTP URLs point to different places?

HTTPS and HTTP URLs point to different places? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the HTTPS and HTTP URLs point to different places? error on your web browser. Problem :


I own and use a domain for a project. When I type in my domain preceeded by HTTPS instead of HTTP, I am re-directed to a compromising website. How is this possible?



Did somebody buy the HTTPS version of my website? Do I need to own both the HTTPS and HTTP domains to prevent this from happening?


Solution :

No, you do not need a separate registration. http:// or https:// are just protocol specifiers. The name will resolve to the same host. However, once you're on the hosted machine, the web server determines what to display. Often, HTTP (port 80) and HTTPS (port 443) can be routed to different pages. This should be configurable by the website admin/tools.



In some cases, you might need to purchase an SSL certificate to match your domain name. This provides a chain of trust, verifying that your site is who it says it is. If you haven't done this, you may be using the host's "default" ssl certificate, which can throw name mismatch warnings at you (which might be why you thought it was a compromising website).



If you see a totally different website, and your site is on shared hosting, it may be the case that your hoster has a configuration problem.



This was the case in a similar question:

"https://" refers to random site, "http://" is broken, but "http://www" works



Check if your and the other site are hosted by the same provider resp. on the same IP.



As you say you are directed to a compromising website, I would check that your site hasnt been hacked in some way with a unwanted redirection to the said website.


We hope that this article has helped you resolve the domains, redirects, https error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

Redirected urls show in serp, with the original permalink but with the title and meta of the target page

How can I redirect everything but the index as 410?

How do I redirect traffic only if being accessed from a specific port?