Question

How can i solve this error ERR_TOO_MANY_REDIRECTS ?

Hi Guys,

I am facing an issue ERR_TOO_MANY_REDIRECTS which keep on coming after some time in chrome browser. I have followed the steps as suggested through this link (https://www.digitalocean.com/community/questions/migration-failed-badly-redirect-loop-error-server) and somewhat the issue was resolved as the same error now doesn’t occur in another browser.
Kindly suggest what further changes i can do to make the website work flawless.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@rohitpahuja Firefox has a different way it protects against loops, so instead of showing an error, it only does a single loop (similar to a page reload) - I actually think it generates a warning in the developer console. It’s different browsers, so they have different internals and how they handle things.

@rohitpahuja

Change the *:80 configuration to this:

<VirtualHost *:80>
        ServerName ninosdreams.com
        ServerAlias www.ninosdreams.com
        Redirect permanent / https://ninosdreams.com/
</VirtualHost>

And post your configuration for HTTPS.

The reason why I’m asking is because I’m getting a return from two IPs, but I don’t know how Amazon hosting works, so you might need to ask them.

ninosdreams.com.	59	IN	A	13.126.120.235
ninosdreams.com.	59	IN	A	35.154.90.209

@rohitpahuja Does it only happen to you or everyone using Chrome?