How to fix a redirect from naked domain that times out when https is put in front but works with http

How to fix a redirect from naked domain that times out when https is put in front but works with http - 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 How to fix a redirect from naked domain that times out when https is put in front but works with http error on your web browser. Problem :


I am a developer and have very little knowledge of DNS and hosting, etc. A client for an app I have inherited recently switched over to running everything over https only. However when this URL https://website.io is used it just spins and times out and will not redirect to https://www.website.io and I do not really understand why. The URL http://website.io works and redirects to https://www.website.io as expected.



I did read the posts on this site I could find that seemed related but did not find anything to solve.



The site is a ROR application hosted on AWS and uses a multi-domain SSL certificate to provide SSL to their sites. For that instance on AWS there are two load balancers, one of them handles the https (443) and has the certificate on it. The naked domain website.io is on the multi domain SSL certificate so I assumed that would solve the issue. The SSL certificate is in place and all that works fine, it is just the case of this one redirect that I do not understand, can anyone help?


Solution :

See if your apache http server config has a line like




  • 'ServerAlias website.io'



or




  • 'ServerAlias *.website.io'


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

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=