View Single Post
  #29  
Old 21st November 2008, 14:57
miguelpinheiro miguelpinheiro is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Question Unable to make subdomains - web server do not start

Quote:
Originally Posted by kuckus View Post
Hi all;

I am experiencing a problem similar to the one Hans described in his first post here:

http://howtoforge.org/forums/showthread.php?t=7409



- so, any new subdomain I create seems not to cause Apache to deliver the "real" content for that new site, but the default "this is a shared ip server" page.

What would be the right place to check to find out where things are going wrong here?

So far, I had a look at my server's /etc/apache2/vhosts/Vhosts_ispconfig.conf and noticed that while there are entries for all my other (sub)domains, no new vhosts were added for the newly created ones.


I'd appreciate any help you can give.

Thanks,
kuckus
I'm running the same problem. I tried backing up Vhosts_ispconfig.conf and rename the last Vhosts... file to Vhosts_ispconfig.conf and then wrote httpd -t and I get:
Code:
httpd: bad user name ${APACHE_RUN_USER}
A few days ago I tried to install suPHP without any luck - It didn't compile. So I undo all the changes - enable php5 mod and edit /home/admispconfig/ispconfig/lib/config.inc.php changed the line:

Code:
$go_info["server"]["apache2_php"] = 'suphp';
back to:

Code:
$go_info["server"]["apache2_php"] = 'suphp';
Restarted ispconfig server ... ok
Restarted apache2 server ((/ect/init.d/apache2 restart) and I got:

Code:
 * Restarting web server apache2 
Syntax error on line 50 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
If I run httpd -t I get:

Code:
httpd: bad user name ${APACHE_RUN_USER}
I restarted the web server using ISPConfig Admin page and I get it running.

Created a new codomain socios.mydomain.com pointing to 'socios'
If I hit http://socios.mydomain.com I get a page load error. I guess I'll have to wait a few to get the results propagated...

Anyway, should I check "create DNS" when adding a new subdomain?

Last edited by miguelpinheiro; 21st November 2008 at 15:14. Reason: new info added
Reply With Quote