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

Woutje99's avatar

Wildcard subdomains not working on new droplet

Hi people,

Today I have installed a new droplet by Digital Ocean with ubuntu 16.04 and install LAMP manually. I use envoyer to deploy my apps and that's work great again on this new droplet, I change the ip-address of the A-records by digital ocean and it points now to the new server.

In my application I have wildcard subdomains and before on my other droplet it works perfect. I copied the virtual hosts file but now it's not working on my new server.It said to many redirects.. When I'm dd($arename) the wildcard in my IndexController I'm getting the areaname, but when I delete 'dd($arename)' I get the response to many redirects.

Does someone know this problem? Maybe a solution?

Regards, Wouter

0 likes
1 reply
Woutje99's avatar

I deleted the droplet and install it again with nginx instead of apache. I get still the message to many redirects?

Someone can help me out?

Please or to participate in this conversation.