Please see faq:
http://www.faqforge.com/linux/contro...-a-dns-record/
Quote:
Originally Posted by tahunasky
Because the clients are not under the default document root (/var/www/html) you can't.
However you can make a symbolic link to the website in the html doc root.
All client websites are in this format:
/var/www/clients/client1/web2/web
ln -s /var/www/html/mywebsite /var/www/clients/client1/web2/web
then you can access it like:
192.168.1.1/mywebsite
|
This will not work for sites that contain scripts or cms sysetms as you will access the files with a wrong user.