some dns or vhosts error I can't see

Discussion in 'Installation/Configuration' started by stormica2, May 2, 2011.

  1. stormica2

    stormica2 New Member

    Hi All,

    This is my first crack at ISPConfig, and so far I'm loving it. I have only a small problem that I can't seem to figure out.

    I'm sure that what's happening is that I'm too close to this, and have been staring at this too look so I can't see what's wrong, but here it goes:

    The problem is that www.domainnamehere.ca is displaying a squirrelmail login screen. There is webcontent that should be shown, and it shows properly if you leave the www off, i.e domainnamehere.ca

    I have tried www and www.domainnamehere.ca. in the zone file, and both give the same result.

    This is literally the last thing that needs to be fixed before the server can go live, and I've been banging my head on this for the last couple of hours.

    Here's the zone file (obviously with domainnamehere.ca and 174.3.x.x substituted in for the real info)

    $TTL 3600
    @ IN SOA ns1.domainnamehere.ca. admin.domainnamehere.ca. (
    2011050114 ; serial, todays date + todays serial #
    3600 ; refresh, seconds
    1800 ; retry, seconds
    604800 ; expire, seconds
    3600 ) ; minimum, seconds
    ;

    ftp.domainnamehere.ca. 3600 A 174.3.x.x
    mail.domainnamehere.ca. 3600 A 174.3.x.x
    members.domainnamehere.ca. CNAME storm.domainnamehere.ca.
    ns1.domainnamehere.ca. 3600 A 174.3.x.x
    photos.domainnamehere.ca. CNAME storm.domainnamehere.ca.
    pop.domainnamehere.ca. CNAME storm.domainnamehere.ca.
    smtp.domainnamehere.ca. CNAME storm.domainnamehere.ca.
    storm.domainnamehere.ca. 3600 A 174.3.x.x
    domainnamehere.ca. 3600 A 174.3.x.x
    domainnamehere.ca. MX 10 mail.domainnamehere.ca.
    domainnamehere.ca. NS ns1.domainnamehere.ca.
    webmail.domainnamehere.ca. CNAME storm.domainnamehere.ca.
    www.domainnamehere.ca. 3600 A 174.3.x.x

    edit: I've also tried the www entry as a CNAME and an A record, neither seems to be working. the CNAME was set to storm.domainnamehere.ca.

    This is my php open_basedir:
    /var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp:/var/www/domainnamehere.ca/web:/srv/www/domainnamehere.ca/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/squirrelmail:/etc/squirrelmail

    I have followed the following two tutorials to build this server:

    http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3

    http://www.howtoforge.com/enabling-...b-sites-on-an-ispconfig-3-server-ubuntu-10.10

    There is no subdomain configured for www, which is the same as the other 2 domains I have set up, and they seem to be behaving themselves.

    Of note, I don't know if this makes a difference:
    I have set up the main domain for this server (named storm.domainnamehere.ca) as a client in ISPConfig and configured all of it's details this way. Because everything else seems to work, I doubt it's a problem, but I thought I'd mention it.

    Any help seeing the forest for the trees would be greatly appreciated.

    thanks
    stormi
     
    Last edited: May 2, 2011
  2. stormica2

    stormica2 New Member

    Replying for posterity:

    A friend found the problem for me.

    the vhost file for the domain didn't have the "ServerAlias www.domainnamehere.ca" entry required for the www to work correctly.
     

Share This Page