I open up a port, let's say port 81 to listen to incoming requests.
If the incoming request is www.myexample.com, then I want to redirect it to
C:\myexamplemain
folder.
If the incoming request is blog.myexample.com, then I want to redirect it to
C:\myexampleblog
folder.
Given that there are a lot of redirection rules for www.myexample.com
and blog.myexample.com
, I have to create a separate VirtualHost files for these two. So I need a separate configuration files that resolves the DocumentRoot. How to best do this?