Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swindleNswoon's avatar

Too many redirects using Forge and Digital Ocean

Hey all, After trying multiple times to deploy my Laravel application on a HostGator shared server and failing miserably, I decided to switch over to Laravel Forge and Digital Ocean. I deployed the application successfully and was able to view it at its IP address, however when I switched the nameservers over on namecheap to digital ocean at first all I could see what a purple webpage with an option to search for related websites. I chalked this up to the DNS propagation time. Now 24 hours later, the purple webpage is gone and I'm getting a too many redirects error. I checked the network logs and get a 301 "Moved Permanently' error. Any ideas on how to fix this?

0 likes
5 replies
swindleNswoon's avatar

Server has redirected jackmattssonfoundation.com to www.jackmattssonfoundation.com 19 times before generating a too many redirects message

jlrdw's avatar

Call host and verify things are properly switched over. 24 hours should be plenty.

jlrdw's avatar

I'd try hostgator first, since it's redirecting.

swindleNswoon's avatar

Figured the issue out, it was me not knowing how to use forge correctly, thanks @

Please or to participate in this conversation.