View Single Post
  #3  
Old 6th January 2013, 18:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,032
Thanks: 826
Thanked 5,382 Times in 4,229 Posts
Default

Please see faq:

http://www.faqforge.com/linux/contro...-a-dns-record/

Quote:
Originally Posted by tahunasky View Post
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote