Apache mass virtual host dynamically
I have an Apache server that takes in all sort of domain that point to it,
for example:
test.com
abc.com
123.com
Then, it will resolve these domain name to a sub folder, for example
test.com -> /var/user/test
abc.com -> /var/user/abc
123.com -> /var/user/123
I can do it using virtual host but i will need to manually add the entries
and restart server each time there are changes.
Is there any way to do the setting dynamically?
No comments:
Post a Comment