newby - new site

Discussion in 'General' started by niber, Aug 20, 2009.

  1. niber

    niber New Member

    [RESOLVED] newby - new site

    Hi,

    ispconfig3 on ubuntu 9.04 (hostnane : myServer.ovh.net, eth0 : 1.2.3.4)

    I created a new site but when I go to www.mysite.com, I get the default page
    "It work!" (which is /var/www/index.html)

    I then created a dns zone like this

    server : myServer.ovh.net.
    client : myclient
    domain : mysite.com.
    NS : dnsX.ovh.net.
    mail : webmaster@mysite.com

    With one record
    type A
    name www
    address 1.2.3.4 (which is myserver eth0 address)

    At ovh (my provider and dns server) I changed www.mysite.com CNAME to myServer.ovh.net. and .mysite.com A to 1.2.3.4

    Can you help me ? ( to get www.mysite.com display /var/www/mysite.com/web/index.html )
     
    Last edited: Aug 24, 2009
  2. till

    till Super Moderator

    Make sure that www.mysite.com is a DNS A-Record that points to the IP address of your server. If this dont help, then select the IP address instead of * for the site.
     
  3. niber

    niber New Member

    I changed mysite.com to A 1.2.3.4 and it works

    Now, I delete www.mysite.com which was
    CNAME -> myserver.ovh.net
    and create
    www.mysite.com A -> 1.2.3.4

    I will tell you if it works

    Thanks for your help
     
  4. niber

    niber New Member

    unfortunately, www.mysite.com still points on /var/www/index.html

    Any other advice ?
     
  5. till

    till Super Moderator

    You sid above that it worked, so use the settings that work!
     
  6. niber

    niber New Member

    mysite.com works but www.mysite.com still does not.
    (and the dns setting at my provider's is the same)
     
  7. till

    till Super Moderator

    And you are sure that you enabled auto www subdomain in the site settings and that you create a dns a-record for www.mysite.com too?
     
  8. niber

    niber New Member

    I created www auto subdomain and now it works fine.

    Thanks a lot for your help !
     

Share This Page