Sunday, 15 September 2013

Dynamic Routing on Apache Server with subdomains

Dynamic Routing on Apache Server with subdomains

So I am setting up a development and public servers and I am trying to
figure out how to point apache to a specific folder based on the
subdomain.
for example I want subdomain:
projectname.username.dev.domain.com
to point to:
/home/username/projectname/
any idea how to accomplish this without having to set up a separate domain
name in my DNS Zone File?

No comments:

Post a Comment