#1  
Old 12th February 2008, 23:02
bigredcherokee bigredcherokee is offline
Junior Member
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default site problem

We have ISPConfig running on 7.10 ubuntu server. We create a client and then a site for that client but when we go to the IP of the server we get that its a shared IP and that we should contact our admin.
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2008, 23:17
Stanev Stanev is offline
Junior Member
 
Join Date: Apr 2006
Location: Sofia, Bulgaria
Posts: 24
Thanks: 14
Thanked 2 Times in 2 Posts
Default

You should use domain name of the page not IP
Reply With Quote
  #3  
Old 13th February 2008, 07:24
TJ Willy TJ Willy is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

(I am also working on this server with BigRed)

Thanks for the reply. Here is a little more background.

Basically we are attempting to use Apache mod_proxy on another server (SBS 03 build with Apache 2.0.54 and full WAMP install) to pass along a URL request to a secondary webserver (Ubuntu 7.10 with ISPConfig). The SBS server is needed/used for other office functions and the Linux box handles various other tasks in addition to hosting. Eventually the SBS VHosts will all be migrated but that is a ways down the road.

Ok... so, for now.

We have the following code in the httpd.conf file on SBS which is the port 80 server:

Code:
<virtualhost *>

ServerAdmin admin@group54.com
#DocumentRoot "c:/www/xl1200n/"
ServerName www.xl1200n.com
ServerAlias xl1200n.com
#ErrorLog logs/xl1200n.com-error_log
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://192.168.1.169:80
ProxyPassReverse / http://192.168.1.169:80
</virtualhost>
I am starting to believe it is either in the ProxyPass and ProxyPassReverse lines or the way we have the site setup in ISPConfig.

It would seem that the ProxyPass and ProxyPassReverse is too generic for the inside server to route, but nothing I have tried works. From qualified path to fully qualified domain/url.

If I change
Code:
ProxyPass / http://blade.group54.com:80/www.xl1200n.com
ProxyPassReverse / http://blade.group54.com:80/www.xl1200n.com
I get a 404:

Code:
Not Found

The requested URL /www.xl1200n.com was not found on this server.
Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 mod_ssl/2.2.4 OpenSSL/0.9.8e Server at blade.group54.com Port 80
The (Ubuntu) return tells me that the inside server (blade) is returning the 404.

Any further ideas? Neither of us are total noobs but neither of us have setup proxys before. ANY help would be appreciated.

Cheers.

Last edited by TJ Willy; 14th February 2008 at 02:13.
Reply With Quote
  #4  
Old 13th February 2008, 18:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

What's in Vhosts_ispconfig.conf, and what's the output of
Code:
ifconfig
?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
TJ Willy (14th February 2008)
  #5  
Old 14th February 2008, 02:39
TJ Willy TJ Willy is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
What's in Vhosts_ispconfig.conf, and what's the output of
Code:
ifconfig
?
In the Vhosts_ispconfig.conf is:

Code:
NameVirtualHost 192.168.1.169:80
<VirtualHost 192.168.1.169:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>

#Vhost: www.xl1200n.com:80

<VirtualHost 192.168.1.169:80>
ServerName www.xl1200n.com:80
ServerAdmin webmaster@xl1200n.com
DocumentRoot /var/www/web6/web
ServerAlias www.xl1200n.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
ScriptAlias /cgi-bin/ var/www/web6/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web6/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 On
php_admin_value open_basedir /var/www/web6/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web6/phptmp/
php_admin_value session.save_path /var/www/web6/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /errer/ "/var/www/web6/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/overload.html
AliasMatch ^/~([^/]+) (/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/ ([^/]+) (/(.*))? /var/www/web6/usr/$1/web/$3
</VirtualHost>
And the output for ifconfig is:

Code:
eth0      Link encap:Ethernet  HWaddr 00:0B:AB:xx:xx:xx
          inet addr:192.168.1.169  Bcase:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80:20b:abff:fe03:3bd2/64  Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500  Metric:1
          RX packets:69741 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000

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:5762 errors:0 dropped: overruns:0 frame:0
          TX packets:5762 errors:0 dropped: overruns:0 frame:0
          collissions:0 txqueuelen:0
          RX bytes:1849780 (1.7 MB)  TX bytes:1849780  (1.7 MB)
Thanks for your help looking into this!!!!
Reply With Quote
  #6  
Old 14th February 2008, 06:53
TJ Willy TJ Willy is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quick update:

We managed to get everything working BUT I still think think something is off. In order to get things to work I changed the httpd.conf file on the port 80 box to reflect the following changes:

Code:
ProxyPass / http://192.168.1.169/web6/web/
ProxyPassReverse / http://192.168.1.169/web6/web/
AND we had to MANUALLY go into Vhosts_ispconfig.conf file and remove all references to the IP address in the virtual hosts tags to
Code:
*
And we learned anytime a news site is created, all the
Code:
*
revert back to IPs and they must be changed or we get the "Shared IP Address error from ISPConfig.

SO, that tells us we still have something awry in the setup.

Perhaps y'all can shed some light on this or possible ways to to troubleshoot the problem.

THANKS!
Reply With Quote
  #7  
Old 14th February 2008, 11:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Are you sure that you had selected the correct IP address for the sites? If your server is behind a router, you will have to use the internal IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 14th February 2008, 17:42
TJ Willy TJ Willy is offline
Junior Member
 
Join Date: Feb 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes. I am sure. Up in post 5 is our Vhosts_ispconfig.comf code. You can see in there is a 192.168.. ip structure.
Reply With Quote
  #9  
Old 14th February 2008, 17:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
 
Default

I think you should try this:
Code:
ProxyPass / http://www.xl1200n.com:80
ProxyPassReverse / http://www.xl1200n.com:80
And in /etc/hosts, add this line:
Code:
192.168.1.169 www.xl1200n.com
so that the system forwards the requests to the ISPConfig server instead of to itself.
__________________
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
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Web Site Problem TinkerAllison Installation/Configuration 3 1st April 2007 19:25
New site problem cybereatl Installation/Configuration 3 11th November 2006 16:22
New site documentroot & PHP problem vincentthe Installation/Configuration 6 11th November 2006 15:21
Problem opening new site dnikola Installation/Configuration 1 16th May 2006 20:59


All times are GMT +2. The time now is 16:39.


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