Ye olde shared ip page

Discussion in 'Installation/Configuration' started by jonroach, Oct 24, 2007.

  1. jonroach

    jonroach New Member

    I'm getting the shared IP page for a domain that I setup. This happens both internally and externally for domain getslick.net. (resolves to external ip 72.54.170.68)

    my vhost config file

    Code:
    ###################################
    #
    # ISPConfig vHost Configuration File
    #         Version 1.0
    #
    ###################################
    #
    NameVirtualHost 10.0.11.11:80
    <VirtualHost 10.0.11.11:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 72.54.170.68:80
    <VirtualHost 72.54.170.68:80>
      ServerName localhost
      ServerAdmin root@localhost
      DocumentRoot /var/www/sharedip
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: [url]www.getslick.net:80[/url]
    ######################################
    #
    #
    <VirtualHost 72.54.170.68:80>
    ServerName [url]www.getslick.net:80[/url]
    ServerAdmin [email]webmaster@getslick.net[/email]
    DocumentRoot /var/www/web1/web
    ServerAlias getslick.net
    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/web1/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/web1/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/web1/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
    </VirtualHost>
    sorry, this should be in the ispconfig forum.
     
    Last edited: Oct 24, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ifconfig
    ?
     
  3. jonroach

    jonroach New Member

    Code:
    eth0      Link encap:Ethernet  HWaddr 00:08:74:14:40:D0  
              inet addr:10.0.11.11  Bcast:10.0.11.255  Mask:255.255.255.0
              inet6 addr: fe80::208:74ff:fe14:40d0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:282147 errors:0 dropped:0 overruns:0 frame:0
              TX packets:76191 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              RX bytes:174711164 (166.6 MB)  TX bytes:10933956 (10.4 MB)
              Base address:0xec80 Memory:ff8c0000-ff8e0000 
    
    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:54752 errors:0 dropped:0 overruns:0 frame:0
              TX packets:54752 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:28182327 (26.8 MB)  TX bytes:28182327 (26.8 MB)
    i'm in a NAT environment. I'm guessing that this is my problem?
     
  4. jonroach

    jonroach New Member

    I got this working by changing the site's IP to my local IP.

    Thanks for you diligence on this forum falko. :D
     

Share This Page