Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Separate nameservers
03-14-2010, 01:09 AM #1
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?
03-14-2010, 06:02 AM #2
- Join Date
- Mar 2010
- Virginia, USA
- Thanked 5 Times in 5 Posts
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).
AfterCode:domain.com A 18.104.22.168 www.domain.com A 22.214.171.124 mail.domain.com A 126.96.36.199 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.Code:domain.com A 188.8.131.52 www.domain.com A 184.108.40.206 mail.domain.com A 220.127.116.11 domain.com MX mail.domain.com
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