Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th May 2010, 22:25
jcross jcross is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 2 Shared IP Loads for Virtual Host

I have perused other, similar problems to mine, but the suggestions did nothing to correct my issue.

I'm running Fedora 11 with ISPConfig 2.

I've previously created 4 web sites on this domain, and they worked perfectly. When when I created the 5th, the server directs me to the Shared IP page instead of the correct location.

Here's my ifconfig results.
Quote:
eth0 Link encap:Ethernet HWaddr 00:26:9E:02:CF:2E
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::226:9eff:fe02:cf2e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:166703648 errors:0 dropped:0 overruns:0 frame:0
TX packets:186210853 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41386094253 (38.5 GiB) TX bytes:91897034496 (85.5 GiB)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1738684 errors:0 dropped:0 overruns:0 frame:0
TX packets:1738684 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1432026598 (1.3 GiB) TX bytes:1432026598 (1.3 GiB)
And here's my Vhosts_ispconfig.conf.
Quote:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.0.11:80
<VirtualHost 192.168.0.11:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
######################################
# Vhost: alessandra.oneclick-dev1.oneclickventures.com:80
######################################
#
#
<VirtualHost 192.168.0.11:80>
#<VirtualHost *:80>
ServerName alessandra.oneclick-dev1.oneclickventures.com:80
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web15/web
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
Alias /cgi-bin/ /var/www/web15/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web15/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /stats "/var/www/web15/web/webalizer"
Alias /error/ "/var/www/web15/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/web15/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web15/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
######################################
# Vhost: jon.oneclick-dev1.oneclickventures.com:80
######################################
#
#
<VirtualHost 192.168.0.11:80>
#<VirtualHost *:80>
ServerName jon.oneclick-dev1.oneclickventures.com:80
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web12/web
ServerAlias oneclick-dev1.oneclickventures.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
Alias /cgi-bin/ /var/www/web12/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web12/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /stats "/var/www/web12/web/webalizer"
Alias /error/ "/var/www/web12/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/web12/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 192.168.0.11:443>
ServerName jon.oneclick-dev1.oneclickventures.com:443
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web12/web
ServerAlias oneclick-dev1.oneclickventures.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
Alias /cgi-bin/ /var/www/web12/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web12/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
SSLEngine on
SSLCertificateFile /var/www/web12/ssl/jon.oneclick-dev1.oneclickventures.com.crt
SSLCertificateKeyFile /var/www/web12/ssl/jon.oneclick-dev1.oneclickventures.com.key
Alias /stats "/var/www/web12/web/webalizer"
Alias /error/ "/var/www/web12/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/web12/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web12/user/$1/web/$3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
</IfModule>
#
#
######################################
# Vhost: randy.oneclick-dev1.oneclickventures.com:80
######################################
#
#
<VirtualHost 192.168.0.11:80>
#<VirtualHost *:80>
ServerName randy.oneclick-dev1.oneclickventures.com:80
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web16/web
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
Alias /cgi-bin/ /var/www/web16/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web16/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /stats "/var/www/web16/web/webalizer"
Alias /error/ "/var/www/web16/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/web16/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
######################################
# Vhost: dale.oneclick-dev1.oneclickventures.com:80
######################################
#
#
<VirtualHost 192.168.0.11:80>
#<VirtualHost *:80>
ServerName dale.oneclick-dev1.oneclickventures.com:80
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web17/web
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
Alias /cgi-bin/ /var/www/web17/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web17/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /stats "/var/www/web17/web/webalizer"
Alias /error/ "/var/www/web17/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/web17/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web17/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
######################################
# Vhost: xcart.oneclick-dev1.oneclickventures.com:80
######################################
#
#
<VirtualHost 192.168.0.11:80>
#<VirtualHost *:80>
ServerName xcart.oneclick-dev1.oneclickventures.com:80
ServerAdmin webmaster@oneclick-dev1.oneclickventures.com
DocumentRoot /var/www/web27/web
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
Alias /cgi-bin/ /var/www/web27/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web27/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /stats "/var/www/web27/web/webalizer"
Alias /error/ "/var/www/web27/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/web27/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web27/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
It's the last one, xcart.oneclick-dev1.oneclickventures.com, that goes to the sharedip page, completely ignoring the VirtualHost command.

Any ideas? Help would be greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 14th May 2010, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Is xcart.oneclick-dev1.oneclickventures.com used anywhere else in your Apache configuration?
What are the outputs of
Code:
hostname
and
Code:
hostname -f
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th May 2010, 17:52
jcross jcross is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.

No, the problematic URL is not used anywhere else in my server's configuration.

The results of both hostname and hostname -f are the same: oneclick-dev1.oneclickventures.com
Reply With Quote
  #4  
Old 18th May 2010, 11:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
cd /etc/httpd
grep -R xcart.oneclick-dev1.oneclickventures.com *
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th May 2010, 16:22
jcross jcross is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Here's what that produced.
Quote:
[root@oneclick-dev1 httpd]# grep -R xcart.oneclick-dev1.oneclickventures.com *
conf/vhosts/Vhosts_ispconfig.conf:# Vhost: xcart.oneclick-dev1.oneclickventures.com:80
conf/vhosts/Vhosts_ispconfig.conf:ServerName xcart.oneclick-dev1.oneclickventures.com:80
conf/vhosts/Vhosts_ispconfig.conf.1:# Vhost: xcart.oneclick-dev1.oneclickventures.com:80
conf/vhosts/Vhosts_ispconfig.conf.1:ServerName xcart.oneclick-dev1.oneclickventures.com:80
conf/vhosts/Vhosts_ispconfig.conf~:# Vhost: xcart.oneclick-dev1.oneclickventures.com:80
conf/vhosts/Vhosts_ispconfig.conf~:ServerName xcart.oneclick-dev1.oneclickventures.com:80
grep: logs/ispconfig_access_log-20100321: No such file or directory
grep: logs/ispconfig_access_log-20100502: No such file or directory
grep: logs/ispconfig_access_log-20100228: No such file or directory
grep: logs/ispconfig_access_log-20100207: No such file or directory
grep: logs/ispconfig_access_log-20100516: No such file or directory
grep: logs/ispconfig_access_log-20100214: No such file or directory
grep: logs/ispconfig_access_log-20100411: No such file or directory
grep: logs/ispconfig_access_log-20100110: No such file or directory
grep: logs/ispconfig_access_log-20100117: No such file or directory
grep: logs/ispconfig_access_log-20100314: No such file or directory
grep: logs/ispconfig_access_log-20100307: No such file or directory
grep: logs/ispconfig_access_log-20100404: No such file or directory
grep: logs/ispconfig_access_log-20100124: No such file or directory
grep: logs/ispconfig_access_log-20100221: No such file or directory
grep: logs/ispconfig_access_log-20100131: No such file or directory
grep: logs/ispconfig_access_log-20100418: No such file or directory
grep: logs/ispconfig_access_log-20100103: No such file or directory
grep: logs/ispconfig_access_log-20100425: No such file or directory
grep: logs/ispconfig_access_log-20091220: No such file or directory
grep: logs/ispconfig_access_log-20100328: No such file or directory
grep: logs/ispconfig_access_log-20100509: No such file or directory
grep: logs/ispconfig_access_log-20091215: No such file or directory
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting multiple websites and webmail dmwcool Installation/Configuration 8 30th March 2010 04:15
ISPConfig 3 in virtualbox on lenny host qriz Installation/Configuration 1 21st March 2009 03:23
New Site Under ISPConfig Continues to Display Shared IP Screen giganet General 4 30th August 2008 19:41
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 15:17
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29


All times are GMT +2. The time now is 06:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.