"Shared IP" page again - why?

Discussion in 'Installation/Configuration' started by bmwpingvinen, Jan 30, 2007.

  1. bmwpingvinen

    bmwpingvinen New Member

    Can someone tell me why I get this page even if I access my domains by their names?
    I attach my Vhosts_ispconfig.conf file and hope for some clarifcation :)


    -s
     

    Attached Files:

  2. Craig

    Craig New Member

    It could be something as simple as there being the default "index.html" file in the root directories for each web site.
     
  3. bmwpingvinen

    bmwpingvinen New Member

    Thanks, but no, it isn't that..
    the index.html in the /var/www/web../web directories are the "Welcome" ones. Except for the site where I have installed Squirrelmail, where the index.html is removed.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You get the shared IP page because the domain name points in DNS to another IP address then the IP you selected for this website in ISPConfig.
     
  5. bmwpingvinen

    bmwpingvinen New Member

    I don't understand how:

    ]$ dig @localhost www.garnes.no

    ; <<>> DiG 9.3.3rc3 <<>> @localhost www.garnes.no
    ; (2 servers found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53037
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;www.garnes.no. IN A

    ;; ANSWER SECTION:
    www.garnes.no. 86400 IN A 85.196.76.14

    ;; AUTHORITY SECTION:
    .
    .

    ------------

    <VirtualHost 85.196.76.14:80>
    ServerName www.garnes.no:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web1/web
    ServerAlias garnes.no
    .
    .

    Isn't this right?

    -s
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This depends on your setup. If your server is behind a router in a NAT enviroment, you must select your internal IP for the website.
     
  7. bmwpingvinen

    bmwpingvinen New Member

    Thanks, now I got it right and it works!
    I am a little confused after having changed ting som many times back and forth..

    Thanks Till!

    -s
     

Share This Page