threeel
3 years ago

Can i map a domain to a user route?

Posted 3 years ago by threeel

I am trying to see if it is possible to associate a user to a specific route. example: One User has the route username.mylaravelapp.com (username is route of his username) how can i allow the user to access the specific account based on a user domain? ex. username.com -> username.mylaravelapp.com does it need to be done in ngynx ? or can i do something in laravel. obviously this is going to be dynamic because there is many usernames in an app. thanks

Please sign in or create an account to participate in this conversation.