Are you trying redirect to an external url?
return redirect()->away('domain.com');
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to give every customer its own server (Digital Ocean droplet) on which the web application and database are running. This way I can arrange server capacity that is suitable for every customer. In addition, one customer cannot stand in the way of another when heavy operations are performed.
I want to create a general portal where all customers log in and that they are then redirected to their own server.
How can I enable with Laravel that a customer is switched to another server after logging in? Or are there other solutions that allow me to control server specs per customer?
Please or to participate in this conversation.