Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

At my workplace, we have a pretty messed up setup for our website, say, that was earlier hosted with another company, say hostingCompany1

At hostingCompany1, there are 2 control panels:

  1. Domain (has the, points to some IP)
  2. Hosting (points and subdomains to our server, has Gmail MX records)

We are using our own server with the settings still at the second control panel.

Which means, when someone visits our site, it resolves to: > hostingCompany1 DNS > hostingCompany1 Hosting > Our Server

This is a pretty messed up scenario and I would like to clean it up to be more like: > hostingCompany2 DNS > Our Server

  1. When I finally transfer from hostingCompany1 to hostingCompany2, how do I achieve the above scenario (i.e., remove the middle man)?

  2. Do the domain settings (MX) have to be on hostingCompany2 or our custom server?
share|improve this question

1 Answer 1

One way to do this would be create child nameservers (e.g., and pointing to the IP address of your custom server. You usually do this at your domain registrar.

Then create A records for ns1. and ns2. pointing to the same IP address and add that to the hostingcompany1 DNS.

Then, of course, you change your nameservers to point to and

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.