This IP address is shared error

Discussion in 'General' started by ufo, Apr 25, 2007.

  1. ufo

    ufo New Member

    Hi everyone,
    As a newbie in the Linux field I installed a server following Falko's manual "The Perfect Setup - Ubuntu 6.06 LTS Server ". It's on a separate machine, and the installation went pretty smooth. The problem occurs when I create a website with ISPConfig and I try to access it - I keep getting that "This IP address is shared..." screen. My server is behind a router and I have a private (192.168....) address, which I used creating the website in ISPConfig. My domain name is hosted at Yahoo and I played with the DNS settings there with no avail. My domain there is forwarded to the IP address of my router. Read everything posted here about this error and still have no idea what might be wrong. I'm positive that might be a DNS issue, but I don't know how to fix it. My server name is ubuntu.example.com and it has DNS, Postfix, everything. The website I created is www.example.com.
    I'm fighting with it for couple of days already and I would appreciate any help.

    Thanks!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ifconfig
    , and what's in your Vhosts_ispconfig.conf file?
     
  3. ufo

    ufo New Member

    Hi Falko, thanks for the fast reply.
    This is my vhosts_ispconfig file:

    ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost 192.168.1.10:80
    <VirtualHost 192.168.1.10:80>
    ServerName localhost
    ServerAdmin root@localhost
    DocumentRoot /var/www/sharedip
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: www.example.com:80
    ######################################
    #
    #
    <VirtualHost 192.168.1.10:80>
    ServerName www.example.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web7/web
    ServerAlias example.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
    ErrorLog /var/www/web7/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 Off
    Alias /error/ "/var/www/web7/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/web7/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
    </VirtualHost>
    #

    And this is the output of ifconfig:

    eth0 Link encap:Ethernet HWaddr 00:B0:D0:63:E9:95
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::2b0:d0ff:fe63:e995/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:48084 errors:0 dropped:0 overruns:0 frame:0
    TX packets:76685 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:3775539 (3.6 MiB) TX bytes:85069513 (81.1 MiB)
    Interrupt:5 Base address:0x2c00

    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:45 errors:0 dropped:0 overruns:0 frame:0
    TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3406 (3.3 KiB) TX bytes:3406 (3.3 KiB)

    Actually I managed to fix it late last night (Eastern time) by editing the A records in my Yahoo Control panel and pointing them to my router's IP address.

    Thanks again, I really appreciate your efforts.
     
  4. pierrepont

    pierrepont New Member

    Hey UFO,

    I have also been PLAGUED by this pesky IP SHARED error.

    Being not a technical person at all, I really don't know what the heck you and Falko are talking about BUT I HAVE THE SOLUTION:

    ISP Manager --> Sites --> YourDomain.com --> Co-Domains

    click on the IP address to see in Co-Domains --> ISP Domains

    and in there, in the ISP Domains section, GET RID OF THE WWW in the "Hostname", which is the first field there. LEAVE THE HOSTNAME FIELD EMPTY, and click save.

    Go back to your domain, and you will see the IP SHARED problem is GONE.

    Enjoy
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    1) The sahred IP page is not an error.
    2) The solution you found is created by ISPConfig automatically, the error you did is that you set the domain limit too low and thats not the fault of ISPConfig.
    3) You should know that www.domain.com and domain.com are not the same. If you would have entered www.domain.com, you would have seen the website. If you want to see the website too when you just enter domain.com in the webbrowser, you need this co-domain with empty host of course. Neither ISPConfig nor your internet browser can guess your intentions as domain.com might be a completely other site then www.domain.com.
     

Share This Page