macmotp
1120
21
General

Homestead and Subdomains

Posted 4 years ago by macmotp

Hello everyone,

I am trying to use subdomains locally with Homestead and VM, but I really cannot find the correct way to implement it.

My target is to use, for example, subdomain.site.app and site.app separately accordantly with my routes.

I tried to setup the file Homestead.yaml with two separates maps but it is not working. I am wondering if anyone had tried this and if it is a nice idea for the purpose of using separate subdomains in a production environment (otherwise please let me know any other options).

Thank you,

Marco

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

Reply to

Use Markdown with GitHub-flavored code blocks.