Configuring DNS for multiple sites

Discussion in 'Installation/Configuration' started by mick02, Jul 7, 2011.

  1. mick02

    mick02 New Member

    Good morning,

    I'm hoping that someone on here can help me.

    I host a few websites using ISPConfig 3. I have registered one of these sites with GoDaddy and have registered a nameserver with GoDaddy to point to my server.

    The problem that I'm having is that I wish to use one name server for all the sites that I am hosting.

    For example, I registered ns1.mydomainname.com with GoDaddy and pointed it to my server. Another site that I have been asked to host is called www.myfriendssite.com. I have changed the DNS settings for this domain to use ns1.mydomainname.com as it's DNS server.

    When I browse to www.mydomainname.com I can see my site however when I browse for www.myfriendssite.com I get the default Apache page saying "It Works!"

    Can someone tell me what settings I need to add to my DNS settings so that I can use ns1.mydomain.com to access the www.myfriendssite.com site.

    I hope I've made this clear and I really hope that someone can help me out.

    Thanks in advance.

    Mick
     
  2. mick02

    mick02 New Member

    ***Update***

    I found a post here -> http://www.howtoforge.com/ispconfig_dns_providerdomain_schlund
    that helped me figure out what was going wrong.

    For anyone else in the same situation this is what I did to solve my problem.

    I created a new DNS zone called myfriendssite.com.
    I added the nameserver as ns1.mydomain.com.

    I added two A records.
    A ns1 myipaddress (enter your IP address here)
    A www myipaddress (enter your IP address here)

    Once I did this the site was then available and could be viewed.

    I just wanted to say also thanks for all the hard work that has been put into ISPConfig.

    Cheers,

    Mick
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use the ISPConfig 3 DNS wizard, then the A, MX and NS records get created automatically.
     

Share This Page