Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Google Sites partnership with some Premier Edition accounts. Currently, my domain [] points to a WYSIWYG-managed site "Powered by Google Sites." I want to keep routing my e-mail [] through the Google Sites suite, but I want to run my actual homepage through something like DreamHost.

How can I manage the DNS entries for and to make sure they go to my third-party hosting service rather than to Google Sites?

share|improve this question

migrated from Jan 1 '10 at 3:14

This question came from our site for professional and enthusiast programmers.

Where did you register your domain name? – SLaks Dec 31 '09 at 22:17
let's say I used; actually I'm not sure how it was registered (the client registered it), but we can assume it's either GoDaddy or a very similar service – pavel.vodenski Dec 31 '09 at 22:41
up vote 1 down vote accepted

What Alex has said is correct, but just to clarify a bit more:

When you set up your domain, you will have entered some Name Servers (a minimum of 2 usually). These nameservers you entered (they usually look like and, they are your DNS servers.

You will need to configure your DNS servers to route your normal TCP/IP traffic to your commercial host, and your email traffic to your Google account.

This is easilly done.

In your DNS you will have a few types of records:

  • A Record - this maps a name (domain/subdomain) to an IP Address
  • CNAME Record - this maps a name to another A record
  • MX - this maps your email to an A record

So! What you will need to do is:

  • Set your A record to point to your commercial hosting provider (use their IP address)
  • Your 'WWW' record should be a CNAME pointing to the A record, but if it is not, also update your WWW record to point to your commercial host.
  • Set your MX record to point to the Google servers that they gave you

This way, all normal traffic will be routed to your commercial host, but your emails will still flow to your google account.

share|improve this answer

The registrar (the site service that registered the domain) will have a control panel that allows to to set the DNS records and point hostnames to different servers.

The exact instructions vary by registrar.

You can find out the registrar by looking up the domain name in WHOIS.

share|improve this answer

Keep your mx records for the domain at the settings that Google supply, to keep email heading there, but alter the normal web-site domains to point to the new hosting IPs.

Google actually have explanations for how to change the DNS settings for a couple of different major registrars, including GoDaddy.

share|improve this answer

Your Answer


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