I need your help in rewriting the URL to match the pattern of my subdomain.
Here is the requirement.
I have the wildcard DNS entry pointing to my webserver IP and also created the virtual host under apache.
I have my webfiles under /var/www/html/wildcard
Every user has a exclusive folder under wildcard i,e /var/www/html/wildcard/user1 , /var/www/html/wildcard/user2, /var/www/html/wildcard/user3 etc.
The users would type out the URL as user1.mydomain.com and the webfiles should be served from /var/www/html/wildcard/user1 for the respectives users and the URL should remain as [user1.mydomain.com
I know these kind of solutions may already be there on this forum, i would appreciate if you could give a exact solution for my issue.
Thanks in Advance.