Each file contains these directives:
<VirtualHost *>
ServerName subdomainx.example.com
DocumentRoot /var/www/www.example.com/subdomainx
</VirtualHost>
Is it right? Is it a correct configuration or will I encounter some problems in the future? Is it so simple?
Do you see any security holes?
Thank you.
At the very least though, I would limit the port in the VirtualHost container. Again, you wouldn't have to, but I prefer to do so. Why? Well, if the port is not specified then it defaults to the same port as the most recent
Listenstatement of the main server. I just like to be certain I guess:
<VirtualHost *:80>