Hello, I just install ISPconfig and ewerything works fine, I made a new customer, new website with ftp user. FTP works fine, but when I write URL tu my browser I see just "It works" then I have to manualy edit /etc/apache2/httpd.conf width: <VirtualHost *> ServerName www.mynewdomain.com DocumentRoot /var/www/web2/web </VirtualHost> And then everithing works OK, do anyone know why its not work automatically. Thanks
First, please undo the manuals editing. Then, have a look if the file vhosts/Vhost_ispconfig.conf is included at the end of your httpd.conf or apache2.conf file.
Nothing changed I have done it. I deleted <VirtualHost *> ..... in httpd.conf but there was already line: Include /etc/apache2/vhosts/Vhosts_ispconfig.conf in the end of file apache2.conf. Now it doesen't work again.
1) Do you have copies of the file Vhosts_ispconfig.conf with a date appended to the filename in the same directory? 2) Have you selected the correct IP address for the website in ISPConfig? If your server is behind a router, you must use the internal IP address and not the external IP address. Also make sure that you access the website by domain anme and not IP address.
Thanks! Thanks a lot, I wrote there a wrong IP address, I wrote 192.168.0.1. and I have 192.168.0.100 - I know - stupid mistake - thanks!