Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th September 2009, 10:50
Al1937 Al1937 is offline
Member
 
Join Date: Jun 2009
Posts: 89
Thanks: 7
Thanked 0 Times in 0 Posts
Default IP address is shared problem.

At first http://myserverdomain.com returned IT WORKS!

I created a client (ME) and setup a domain I want to host on my server.

Once I setup the new web site I began getting the " IP Is Shared address" message
when I browsed to http://myserverdomain.com.

I then deleted the website I want to host on my server, and http://myserverdomain.com returned IT WORKS!

Where am I going wrong?

root@www:/home/albert# ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:17:55:d8:bf
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::212:17ff:fe55:d8bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6657 errors:0 dropped:0 overruns:0 frame:0
TX packets:8639 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1254254 (1.2 MB) TX bytes:6460179 (6.4 MB)
Interrupt:18 Base address:0xe800

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:1442 errors:0 dropped:0 overruns:0 frame:0
TX packets:1442 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:121899 (121.8 KB) TX bytes:121899 (121.8 KB)

root@www:/home/albert#


Nameservers for my server domain is with dyndns.org

Nameservers for the domian I wish to host is with zoneedit.

Last edited by Al1937; 14th September 2009 at 06:43.
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2009, 12:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in Vhosts_ispconfig.conf?
__________________
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 14th September 2009, 14:26
Al1937 Al1937 is offline
Member
 
Join Date: Jun 2009
Posts: 89
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I should have posted that I am running Ubuntu 9.04. ISPConfig2
Where is the ispconfig_conf file on my system?

Last edited by Al1937; 14th September 2009 at 16:02.
Reply With Quote
  #4  
Old 15th September 2009, 09:41
TeslaZap TeslaZap is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Al1937: I run debian (basically same structure) and my vhost_ispconfig.conf is in /etc/apache2/vhosts
try to have a look there.
Reply With Quote
  #5  
Old 15th September 2009, 13:58
Al1937 Al1937 is offline
Member
 
Join Date: Jun 2009
Posts: 89
Thanks: 7
Thanked 0 Times in 0 Posts
Default

/etc/apache2/vhosts

../
Vhosts_ispconfig.conf
Vhosts_ispconfig.conf~

Inside ../ is:

../
conf.d/
mods-available/
mods-enabled/
sites-available/
sites-enabled/
vhosts/
apache2.conf
apache2.conf.12-09-09_17-12-54
apache2.conf.orig
envvars
httpd.conf
ports.conf
ports.conf.12-09-09_17-12-54

Willthis help?
Reply With Quote
  #6  
Old 15th September 2009, 14:08
TeslaZap TeslaZap is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Al1937: please paste the output of:
Code:
cat /etc/apache2/vhosts/Vhosts_ispconfig.conf

Last edited by TeslaZap; 15th September 2009 at 14:11.
Reply With Quote
  #7  
Old 16th September 2009, 04:59
Al1937 Al1937 is offline
Member
 
Join Date: Jun 2009
Posts: 89
Thanks: 7
Thanked 0 Times in 0 Posts
Default

root@www:/home/albert# cat /etc/apache2/vhosts/Vhosts_ispconfig.conf
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.100:80
<VirtualHost 192.168.1.100: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>
NameVirtualHost 192.168.1.100:80
<VirtualHost 192.168.1.100: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.albertbrinson.com:80
######################################
#
#
<VirtualHost 192.168.1.100:80>
ServerName www.albertbrinson.com:80
ServerAdmin webmaster@albertbrinson.com
DocumentRoot /var/www/web11/web
ServerAlias albertbrinson.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/web11/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web11/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/web11/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web11/phptmp/
php_admin_value session.save_path /var/www/web11/phptmp/
<IfModule mod_ruby.c>
<Directory /var/www/web11/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/web11/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/web11/web/webalizer"
Alias /error/ "/var/www/web11/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/web11/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/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/web11/web
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/web11/passwd.dav
Require valid-user
</Location>
</IfModule>
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 192.168.1.100:443>
ServerName www.albertbrinson.com:443
ServerAdmin webmaster@albertbrinson.com
DocumentRoot /var/www/web11/web
ServerAlias albertbrinson.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/web11/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web11/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/web11/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web11/phptmp/
php_admin_value session.save_path /var/www/web11/phptmp/
<IfModule mod_ruby.c>
<Directory /var/www/web11/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/web11/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
SSLEngine on
SSLCertificateFile /var/www/web11/ssl/www.albertbrinson.com.crt
SSLCertificateKeyFile /var/www/web11/ssl/www.albertbrinson.com.key
Alias /stats "/var/www/web11/web/webalizer"
Alias /error/ "/var/www/web11/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/web11/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/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>
<IfModule mod_dav.c>
Alias /webdav /var/www/web11/web
<Location /webdav>
DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/web11/passwd.dav
Require valid-user
</Location>
</IfModule>
</VirtualHost>
</IfModule>
#
#root@www:/home/albert#


I am befuddled!
If my bingftp.com server has a designated address 0f 192.168.1.100 and any domain I wish to host on that server was also assigned automatically 192.168.1.100 when I setup the web in Admin are they not shareing the same IP address?

When I do a dig on bingftp.com it comes up with 192.168.1.1 ( the address of my router) as the server address. Nothing seems to make sense to me.


root@www:/home/albert# dig www.bingftp.com

; <<>> DiG 9.5.1-P2 <<>> www.bingftp.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34127
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.bingftp.com. IN A

;; ANSWER SECTION:
www.bingftp.com. 43200 IN CNAME bingftp.com.
bingftp.com. 60 IN A 76.29.158.151

;; Query time: 210 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Sep 15 22:57:16 2009
;; MSG SIZE rcvd: 63

root@www:/home/albert#
Reply With Quote
  #8  
Old 16th September 2009, 13:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

I cannot reach www.albertbrinson.com... - does it point to your server's public IP?
__________________
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
  #9  
Old 16th September 2009, 17:51
Al1937 Al1937 is offline
Member
 
Join Date: Jun 2009
Posts: 89
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I have the same problem with http://www.albertbrinson.com BUT I am able to bring up
http://albertbrinson.com with a "Welcome to www.albertbrinson.com"
Can you?

I still get "Shared IP" wit http://192.168.1.100
and http://www.bingftp.com and http://bingftp.com


I just created a CNAME www.albertbrinson.com

This is strange. I did a dig www.albertbrinson.com and it came up with the CNAME.

I just tried it again to copy and post it here, now -- THERE IS NO CNAME?

The ip address assigned to www.albertbrinson.com was 208.68.139.38 It got hacked within 2 minutes.

208.68.139.38 is from United States(US) in region North America
Whois query for 208.68.139.38...

Results returned from whois.arin.net:

OrgName: FAST Search & Transfer Inc
OrgID: FST-20
Address: 117 Kendrick Street
City: Needham
StateProv: MA
PostalCode: 02494
Country: US

NetRange: 208.68.136.0 - 208.68.143.255
CIDR: 208.68.136.0/21
OriginAS: AS40066
NetName: FAST-HOSTED-SERVICES
NetHandle: NET-208-68-136-0-1
Parent: NET-208-0-0-0-0
NetType: Direct Assignment
NameServer: DNSBOSEXT.FASTSEARCH.NET
NameServer: DNSDENEXT.FASTSEARCH.NET
Comment:
RegDate: 2006-06-28
Updated: 2008-04-11

RTechHandle: JHH10-ARIN
RTechName: Hutchinson, James Henry
RTechPhone: +1-781-433-8999
RTechEmail: james.hutchinson@microsoft.com

OrgTechHandle: JHH10-ARIN
OrgTechName: Hutchinson, James Henry
OrgTechPhone: +1-781-433-8999
OrgTechEmail: james.hutchinson@microsoft.com

# ARIN WHOIS database, last updated 2009-09-15 20:00
# Enter ? for additional hints on searching ARIN's WHOIS database.



My albertbrinson.com domain was unlocked.
Once I locked my albertbrinson.com domain www.albertbrinson now works for me.

I still get "Shared IP" wit http://192.168.1.100
and http://www.bingftp.com and http://bingftp.com


Ain't this FUN!!

Last edited by Al1937; 16th September 2009 at 18:50.
Reply With Quote
  #10  
Old 17th September 2009, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by Al1937 View Post
I have the same problem with http://www.albertbrinson.com BUT I am able to bring up
http://albertbrinson.com with a "Welcome to www.albertbrinson.com"
Can you?
No, doesn't work for me. Do you host the server in your LAN? If so, did you configure your router to forward port 80 to the server?

Quote:
Originally Posted by Al1937 View Post
You will always get a "Sahred IP" page if you use an IP because ISPConfig configures name-based vhosts.

Please check your domains here: www.intodns.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
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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
problem with address list in webmail. rispa General 0 30th April 2009 09:17
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
This IP address is shared - HELP razvan_vlad Installation/Configuration 14 11th July 2008 13:28


All times are GMT +2. The time now is 21:01.


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