I've just installed ispconfig on server with CentOS 5 , I've added 2 sites , but they redirect to default location /var/www/html/ . From the directory structure I understand it should use something like this /var/www/web_id/web. How can I fix it ?
Redefine your document root within ISPConfig: Management > Server > Settings > Web > Document Root: var/www
configurations without changes is: /.../ Conf. Dir.: /etc/httpd/conf httpd.conf: /etc/httpd/conf/httpd.conf Document Root: var/www /.../ when I go to www.mysite1.com/index.html and www.mysite2.com/index.html is called /var/www/html/index.html
Please make sure that you selected the correct IP addresses for the websites that you created. If the server is behind a router, you will have to choose the internal IP addresses.