DNS: Forward domain to another host

1

I have a domain that is hosted with XO Communications. I want to host that domain at another web host, but I want to keep the mail at XO, so I'd like to keep the DNS managed by XO. What do I need to do in the DNS to switch it the website to the other host, but leave the mail unchanged?

normmcgarry

Posted 2012-04-11T17:10:25.837

Reputation: 113

Answers

1

Edit the DNS records and set the A record for www.example.com to the IP-address of the hosting server at a.n.other web-hosting service. Keep the MX records pointing to the names of XO's SMTP servers.

RedGrittyBrick

Posted 2012-04-11T17:10:25.837

Reputation: 70 632

1FYI, MX records must point to names, never IP addresses – user1686 – 2012-04-11T17:24:19.917

Setting the A-record for www.example.com doesn't forward example.com, does it? Any way to do both? – normmcgarry – 2012-04-11T17:25:38.953

@normmcgarry: set up one A record for each name. That's two A records. Each with the same IP-address. – RedGrittyBrick – 2012-04-11T17:43:13.503

@grawity: thanks for pointing out the mistake, I'll correct the answer. – RedGrittyBrick – 2012-04-11T17:44:59.160

Ok, that's what I thought. I'm at the mercy of the XO interface though, which doesn't seem to allow me to only add an A-record of example.com. Must have a subdomain. – normmcgarry – 2012-04-11T18:01:40.747