Virtual hosts on apache2
I am setting up a little webhosting company and I came to a problem
I want to set up some rules with this order of precedence:
1. setup.* => /var/www/hosting/setup/
2. mail.* => /var/www/hosting/webmail/
3. subdomain.domain.tld => /var/www/hosting/domain.tld/subdomain/
4. anything else => /var/www/hosting/home/
I have been trying a lot but didnt came to a solution...
Pls. can u help me?
I am not getting anything from the description you provided.
Please tell us what exactly you mean by
I have already solved this by setting the NameVirtualHost parameter, so the virtual hosts can be loaded in order of their names in the vhosts.d directory.
I recommend you to install come kind of Control Panel. For example ISPConfig.
|All times are GMT -5. The time now is 03:05 PM.|