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

luddinus's avatar

[Forge] Redirect always to https://www

Hi,

is there a easy way to redirect always to https://www.mydomain.com?

I read this and I have some doubts: https://blog.laravel.com/forge-alias-domains

My Site domain is "production.mydomain.com" In the alias I'm going to put: mydomain.com,www.mydomain.com

I don't know whether this will redirect always to www, AND don't know if someone enter http://domain.com will redirect to www and to https... (I know I can always make changes to nginx config)

Currently I can't figure out because mydomain.com is not in the Forge Server.

Any help appreciated.

Thanks.

0 likes
1 reply

Please or to participate in this conversation.