P
PaulDs
Guest
There seems to be a nasty bug when you try to create a subdomain with a specified document root
although if I create a subdomain called "TEST" and I leave the docroot default to site1
/var/www/vhosts/domain.com/test gets created and it works fine, you can add a file in the docroot :
such as /var/www/vhosts/domain.com/test/letstest.txt and access it from a browser if you try
httpd://test.domain.com/letstest.txt
That seems to work fine but the minute you change the docroot name from site1 to anything else it doesnt work.
So if we now create a subdomain called "coffee" and change the document root from teh default site1 or site2 to "coffee"
If you go to the subdomain in a browser the default page is shown but you cant access a file that you add in the subdomain
you can try and make a chance to the index.html page but that doesnt help either.
although if I create a subdomain called "TEST" and I leave the docroot default to site1
/var/www/vhosts/domain.com/test gets created and it works fine, you can add a file in the docroot :
such as /var/www/vhosts/domain.com/test/letstest.txt and access it from a browser if you try
httpd://test.domain.com/letstest.txt
That seems to work fine but the minute you change the docroot name from site1 to anything else it doesnt work.
So if we now create a subdomain called "coffee" and change the document root from teh default site1 or site2 to "coffee"
If you go to the subdomain in a browser the default page is shown but you cant access a file that you add in the subdomain
you can try and make a chance to the index.html page but that doesnt help either.