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

eleven0's avatar

Forge Domain Alias

Hello All,

My app is now being offered in different languages and we want to utilize the local domains as well.

So what we want, when I a user types in say;

example.fr --- i want them to view my main app site example.com in French, could all routes in app work in that domain as well?

I store user language preference in my db, i render the application in that language. So when a person visits example.fr, my application will be rendered in french...

How would i accomplish this?

0 likes
1 reply

Please or to participate in this conversation.