Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder tylerjca's Avatar
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    162
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Separate nameservers

    Hi all it's been a while since I've posted on here.

    I doing a web site for a my boss and he has a web domain already, but the company the domain is registered with does not have a decent hosting package. He is using the account for E-mail purposes only.

    I was wondering if we were to just add a couple nameserver entries pointed to my own hosting account, will it work for both E-mail AND web hosting with both functions on separate servers?

    I want to avoid having him switch his domain to a different company?

    Thanks

  • #2
    New Coder
    Join Date
    Mar 2010
    Location
    Virginia, USA
    Posts
    25
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Hello.

    Yes - that should be easily accomplished.

    What you'll need to do is modify the DNS records (also called modifying the DNS zone) to specify that web traffic goes to one IP (your hosting provider) and email traffic goes to another IP (his domain registrar). This is not the same as adding more name servers to the domain through the registrar's control panel. That will actually break the domain and prevent traffic from working correctly. Most domain registrars have a built-in check to ensure that name servers from multiple providers are not assigned to a single domain.

    When modifying the DNS records, you're going to want to focus on changing 'A' records for domain.com and www.domain.com. These should be changed to point to the IP address of the web hosting provider you are with.

    You will want to ensure that the mail.domain.com (and sometimes webmail.domain.com) 'A' records remain pointed to the current IP (where he already has email services).

    Before
    Code:
    domain.com   A   1.2.3.4
    www.domain.com   A   1.2.3.4
    mail.domain.com   A   1.2.3.4
    domain.com   MX   mail.domain.com
    After
    Code:
    domain.com   A   6.7.8.9
    www.domain.com   A   6.7.8.9
    mail.domain.com   A   1.2.3.4
    domain.com   MX   mail.domain.com
    This is assuming that the DNS zone for the domain is configured in a fairly standard manner. The mail.domain.com should be an 'A' record - not a 'CNAME'. And there should be an 'MX' record pointing towards mail.domain.com as well.

    Of course this is all dependent on the current domain registrar allowing DNS zone modifications - most do these days.

    There are several alternative forms that the DNS zone might be configured in - if you have questions once you take a look, feel free to post

    - C. Aaron Smith


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •