dns question

Discussion in 'Installation/Configuration' started by leen, Apr 8, 2006.

  1. leen

    leen New Member

    I have made a codomain like name.domain.com.
    I redirect it to www.domain.com/users/name.

    Then I configured my other computer to the dns server of my ispserver.

    When I typed http://name.domain.com in my browser it redirected correctly to th right website.

    My question is why doesn't it work when I turn back to the nameserver of my provider?

    Will it later be working properly for yhe world or only with my own nameserver?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    How long did you wait after you entered the DNS at your provider? DNS records may take up to 48 hours to become valid.
     
  3. leen

    leen New Member

    It is now the next day and it is still not working. Allmost 24 hours later

    But I will try later in a few days or so.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can check with
    Code:
    dig www.yourdomain.com
    if the domain is pointing to the correct IP address now.
     
  5. leen

    leen New Member

    dig www.mydomain.nl is ok but name.mydomain.nl isn't.

    I think this is strange because I used my own server before and used
    <virtual hosts> before. (did it all by hand)
    And then it redirected to the folder I used for the user.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    DNS is not the same then apache virtual hosts!

    Create an A-Record for name on the nameserver that is authoritive for mydmain.nl.
     
  7. leen

    leen New Member

    Does this mean that I have to tell the people from the nameserver to make an entry for each codomain I make?

    With virtualhosts this is not necessary.

    Is it not possilble to let the nameserver from the provider point to my nameserver for all additional codomains?
    Actually I thought this was the case anyway. Is this not the case because it is a c-level domain.

    As I think to have learned it:
    www.mydomain.nl nl is a-level
    www.[B]mydomain.nl[/B] mydomain is b-level and is located at provider
    www.mydomain.nl www is c-level and located at my own server.

    As the b-levelserver refers to my server I thought it should work.

    Hope you understand what I am talking about.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Yes.

    If you want to use your own nameserver, you must tell your domain registrar so that he can make the necessary changes.
    You should have a look here: http://www.howtoforge.com/forums/showpost.php?p=6292&postcount=4
    http://www.howtoforge.com/traditional_dns_howto
     
  9. leen

    leen New Member

    OH,...
    OK now I understand better how it's done.
    Here we have a problem because I understand that the nl domains accept this only if I have a master and a slave-server, at two seperate ip-adresses.
    I will have to ask my provider if I can have a second ipadress set permanent to my second macadres(networkcard).

    Thank you for the reply's
     

Share This Page