Hello, Im trying to setup what would be called a catchall domain, to be able to look at like http://catchall.domain.tld/domain1.tld/ to say view websites that maybe DNS is broken for. The catchall is setup to be DocumentRoot /var/www and it works, the problem is i dont have permissions to go into all the websites stored in there. I could probably fix it by manually changing permissions on the websites, but that doesnt seem to be a very smart answer, as i would have to change each website after it was added. What can i do to make this work properly? Can provide any more info if needed. thanks!
You will probably get problems with rewrite rules, etc. because the document root is different from the real one. Also, why do you want to go into the web sites and change things?
I dont want to go in and change things, but if i disable a website, i might still want to be able to access it myself as the provider. As far as rewrite rules go inside each website, im not really concerned, as long as i can access it. Also its a good way to test websites before i assign a host to them. Thanks
See ISPConfig FAQ on how to access a website without dns record or when the public dns record points to a different IP: http://www.faqforge.com/linux/contr...ess-a-namebased-website-without-a-dns-record/
You can not test websites that use cms systems thsi way reliably. So such a access makes only sense for plain html sites which dont use any scripts or .htaccess files. To access a website in a way that you can get a reliable result, use the hosts file method from the FAQ. If you rgularily have to access a site which is hosted lsehere, then add a alias or subdomain domain to the site and create this alias or subdomain in the normal dns system.