So I added a new site to my ispconfig, got all the DNS stuff exactly copied from a working site. However when you go to the address all you see is the "Shared IP" ispconfig page. any ideas?
I just copied a site that was working, appended the file with the data and changed it to match the new site i just added. if there is a way to do this 'correctly' I am all ears, and before you say "search".. I already did and this was the best I came up with...
again, I manually copied the following and added it then changed it to reflect the new site; Code: ###################################### # Vhost: www.newiste.com:80 ###################################### # # <VirtualHost 192.168.0.250:80> php_value memory_limit 16M ServerName www.newsite.com:80 ServerAdmin [email protected] DocumentRoot /var/www/web5/web ServerAlias newsite.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ErrorLog /var/www/web5/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 <Files *.php> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php3> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php4> SetOutputFilter PHP SetInputFilter PHP </Files> <Files *.php5> SetOutputFilter PHP SetInputFilter PHP </Files> php_admin_flag safe_mode Off Alias /error/ "/var/www/web5/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web5/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web5/user/$1/web/$3 </VirtualHost> # # #
thats the problem, I created the new site in ispconfig and it looked like the vhost file was never even touched, so i just manually added it and then I was good to go. but I have no idea why ispconfig didnt 'automagically' add the sites to the vhosts config file.
fwiw, I'm having a similar problem, added a new site on a new testing server (fedora 8). /etc/httpd/conf/vhosts has a new vhosts_ispconfig.c_<date stuff> file with the new site information in it, but the file /etc/httpd/conf/vhosts/Vhosts_ispconfg.conf never gets updated with the new site information, even though the modify timestamp is changed to when I created the new site. I had no errors during the site setup, and I can't find any kind of log entry showing a problem Apache gets restarted by the new site addition, no errors logged anywhere I can find. I'm just starting experimenting with ispconfig so there is surely a chance I'm doing something stupid
same here strangest thing happend to me too... I've installed ubuntu 8.04 LTS server (Hardy heron) and installed ISPConfig. It looks and feels great. But somehow, after adding a new site this site is only pointing to the sharedip page. Any new site also just points me to the shareip page. Sure hope anyone knows how to solve this...
Please search the forum for shared IP or take a look in the getting started guide chapter 2.10.3: http://www.howtoforge.com/ispconfig-2.x-first-steps-p3
thanks there. I've restarted apache2, because httpd -t gave back a bad username $APACHE_RUN_USER... now the site is showing the right content