tutes-dump/site-tutorials/FAQ/VHOST/09

13 lines
586 B
Plaintext
Raw Normal View History

2020-07-11 10:11:19 +00:00
[09] CAN I HAVE SEPARATE WEB DIRECTORIES FOR MY SUBDOMAINS?
Yes! When you run the 'mkvhost' command only the web directory for
domain is created in $HOME/html/yourdomain.com. Requests for
yourdomain.com and www.yourdomain.com are served out of that directory.
If you'd like to enable VHOST for subdomain.yourdomain.com then just
simple create the directory $HOME/html/subdomain.yourdomain.com and
put your content there.
Each subdomain VHOST has a separate log file from the main VHOST
domain. Quotas are aggregated across all log files.