PDA

View Full Version : redirect problem


vladimirp
9th September 2007, 22:02
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 ?

Hans
9th September 2007, 22:14
Redefine your document root within ISPConfig:

Management > Server > Settings > Web > Document Root: var/www

vladimirp
9th September 2007, 23:14
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

till
10th September 2007, 09:40
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.

vladimirp
10th September 2007, 15:45
Yes , I have the router , I'he chosen internal IP addreses and now it working ok! Thx!