10 months ago

How do I create a subdomain in Homestead that points to a different directory?

Posted 10 months ago by ChrisF79

Hi friends,

In my code folder I have a site called mysite.test and a site called mysiteblog.test. Both load fine in the browser using Homestead (for local testing).

What I want though is for the blog to actually be blog.mysite.test. The part that has me so confused is that these two start off in a different root.

Is there a way to do this in Homestead?

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