
6th October 2009, 19:07
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Shared IP problem again!
Hi all,
I setup CentOs with latest ISPConfig 2, but after I created some websites, Shared IP page appeared when I access these site. Here is my ifconfig and Vhosts_ispconfig result:
Quote:
eth0 Link encap:Ethernet HWaddr 00:11:25:1E:03:74
inet addr:203.113.173.38 Bcast:203.113.173.63 Mask:255.255.255.192
inet6 addr: fe80::211:25ff:fe1e:374/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15686 errors:0 dropped:0 overruns:0 frame:0
TX packets:14723 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2216053 (2.1 MiB) TX bytes:6141353 (5.8 MiB)
Interrupt:193 Memory:fe010000-fe020000
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:481 errors:0 dropped:0 overruns:0 frame:0
TX packets:481 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41342 (40.3 KiB) TX bytes:41342 (40.3 KiB)
|
Quote:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 203.113.173.38:80
<VirtualHost 203.113.173.38: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: www.itdls1.no-ip.info:80
######################################
#
#
<VirtualHost 203.113.173.38:80>
ServerName www.itdls1.no-ip.info:80
ServerAdmin webmaster@itdls1.no-ip.info
DocumentRoot /var/www/web18/web
ServerAlias itdls1.no-ip.info
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/web18/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web18/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web18/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web18/phptmp/
php_admin_value session.save_path /var/www/web18/phptmp/
<IfModule mod_ruby.c>
<Directory /var/www/web18/web>
Options +ExecCGI
</Directory>
RubyRequire apache/ruby-run
#RubySafeLevel 0
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
<IfModule mod_python.c>
<Directory /var/www/web18/web>
#Options +Indexes +FollowSymLinks +MultiViews
#AllowOverride Indexes AuthConfig Limit FileInfo
#Order allow,deny
#allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
</IfModule>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
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/web18/web/webalizer"
Alias /error/ "/var/www/web18/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/web18/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web18/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
<IfModule mod_dav.c>
Alias /webdav /var/www/web18/web
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/web18/passwd.dav
Require valid-user
</Location>
</IfModule>
</VirtualHost>
#
#
#
######################################
# Vhost: www.itdls.no-ip.info:80
######################################
#
#
<VirtualHost 203.113.173.38:80>
ServerName www.itdls.no-ip.info:80
ServerAdmin webmaster@itdls.no-ip.info
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 On
php_admin_value open_basedir /var/www/web17/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web17/phptmp/
php_admin_value session.save_path /var/www/web17/phptmp/
<IfModule mod_ruby.c>
<Directory /var/www/web17/web>
Options +ExecCGI
</Directory>
RubyRequire apache/ruby-run
#RubySafeLevel 0
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
<IfModule mod_python.c>
<Directory /var/www/web17/web>
#Options +Indexes +FollowSymLinks +MultiViews
#AllowOverride Indexes AuthConfig Limit FileInfo
#Order allow,deny
#allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
</IfModule>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
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>
<IfModule mod_dav.c>
Alias /webdav /var/www/web17/web
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/web17/passwd.dav
Require valid-user
</Location>
</IfModule>
</VirtualHost>
#
#
#
|
wait for your help! thanks,
|

7th October 2009, 13:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Code:
mh1:~# dig itdls1.no-ip.info
; <<>> DiG 9.3.4 <<>> itdls1.no-ip.info
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28539
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;itdls1.no-ip.info. IN A
;; ANSWER SECTION:
itdls1.no-ip.info. 360 IN A 69.65.19.125
;; Query time: 176 msec
;; SERVER: 213.133.98.98#53(213.133.98.98)
;; WHEN: Wed Oct 7 13:47:30 2009
;; MSG SIZE rcvd: 51
mh1:~#
itdls1.no-ip.info is pointing to a wrong IP.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

7th October 2009, 18:26
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Thank falko, it works again!
|

1st March 2010, 22:16
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I have a problem related to shared IP. I set up ispconfig 2 on Ubuntu 8 all services work fine from lan and from outside, with one exception. Called http server ip in the LAN message is "the shared". Called from outside the LAN http works perfectly. I appreciate any help given. Thanks
|

2nd March 2010, 11:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,071
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
|
|
Make sure that you have selected the internal IP address and not external IP in the website settings.
|

2nd March 2010, 13:05
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I check now. It's 192.168.... ip set up in web settings.
|

3rd March 2010, 14:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Quote:
Originally Posted by wanderer
I have a problem related to shared IP. I set up ispconfig 2 on Ubuntu 8 all services work fine from lan and from outside, with one exception. Called http server ip in the LAN message is "the shared". Called from outside the LAN http works perfectly. I appreciate any help given. Thanks
|
You must use the correct domain or hostname to access a site - you cannot use the IP address because ISPConfig configures name-based vhosts.
|

4th March 2010, 11:48
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Sorry for the error, I tried with the correct domain and give the same result.
|

5th March 2010, 13:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
What's in Vhosts_ispconfig.conf, and what is the output of ?
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

15th March 2010, 15:51
|
|
Junior Member
|
|
Join Date: Oct 2009
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Thanks FALKO but I changed my mind about using ISPConfig and I want to set up services without it, I posted on another post problems faced to the mail service.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:22.
|
|
Recent comments
1 hour 57 min ago
2 hours 56 min ago
6 hours 43 min ago
7 hours 57 min ago
11 hours 34 min ago
18 hours 49 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 20 hours ago
1 day 22 hours ago