question regarding nameservers

Discussion in 'Site & Server Administration' started by bbrian017, Nov 8, 2008.

  1. #1
    I'm playing around right new getting used my my new virtual dedicated servers and I have a question regarding the name servers!

    Can name servers be used for multiple domain names?

    if so when setting up the nameserver I can use something generic or should it be specific to the domain name?

    for example

    ns1.cooexample.com
    ns1.bigecample.com
    ns1.crazycoolexample.com

    or can I add all domain names to

    ns1.coolexample.com
    ns2.coolexample.com
     
    bbrian017, Nov 8, 2008 IP
  2. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #2
    you can add all domains to :

    ns1.coolexample.com
    ns2.coolexample.com

    is better to be specific to the domain name.
     
    newzone, Nov 8, 2008 IP
    Pathan likes this.
  3. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #3
    yeah use ns1.coolexample.com, ns2.coolexample.com make sure to register those name servers using domain manager for the domain coolexample.com.
     
    Pathan, Nov 8, 2008 IP
  4. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #4
    So we can have unlimited nameservers per IP address?

    Also normally with the shared hosting account I would have a host number... it's big with number and letter. For this information am I now using my ip address? for example I'm talking about the wordpress wp-config.php...

    define('DB_NAME', 'coolexample'); // The name of the database
    define('DB_USER', 'coolexample'); // Your MySQL username <--- do I use the root username for the apache sql?
    define('DB_PASSWORD', 'coolexample'); // ...and password <--- do I use the root password for the apache sql?
    define('DB_HOST', 'coolexample); // 99% chance you won't need to change this value <--- this use to be the big letter number combo.. should I use ip address or leave empty?
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    know what I'm saying?
     
    bbrian017, Nov 9, 2008 IP
  5. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #5
    well normally its like
    define('DB_HOST', 'localhost); I am sure it will work if its not then try using main server IP here.
     
    Pathan, Nov 9, 2008 IP
  6. bbrian017

    bbrian017 Well-Known Member

    Messages:
    2,990
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    170
    #6
    the nameservers have changed but for some reason the website isn't displaying yet!

    I guess it's a waiting game now?

    The domain name I'm testing is registered with godaddy, about 10 hours after changing the DNS to the ones I created the page is currently full of godaddy parked ads!

    Is this normal before it points to my server? if not how do I make a domain name point to a specific spot on my. I thought that was created when I said add a domain name in the simple control panel maybe I only made the ftp folder and now I need to point the domain name there? or did I do that by creating the host and renaming the name server?
     
    bbrian017, Nov 9, 2008 IP
  7. popowich

    popowich Well-Known Member

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #7
    These DNS servers resolve to the same IP address. It is best if they are physically different servers.

    If you must you can use ns1.coolexample.com as your primary so you have control of your zones and get your ISP to be a slave for you as using slave.your-ISP.com as your second DNS server.

    -Raymond
     
    popowich, Nov 11, 2008 IP