By Rohit Pahuja
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.
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!
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 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.
Hi @rohitpahuja
Are you using a CMS like WordPress? Can you post your Apache Vhost configuration - as well as any .htaccess.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.