Redirect all traffic to another domain with Laravel Forge

Here’s something that I need to do every now and then, and always forget how.

To set up a new redirect, first head over to the “Redirects” tab on your site in Forge.

Then, create a new redirect rule with the following configuration:

From
/

To
{REDIRECT_DOMAIN}$request_uri

Type
Permanent

You’re done!