Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was hoping some expert on here could quickly answer my question.

I don't know much about DNS, so bare with me.

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?

Thank you so much.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
1  
FYI, MX records must point to names, never IP addresses –  grawity Apr 11 '12 at 17:24
    
Setting the A-record for www.example.com doesn't forward example.com, does it? Any way to do both? –  normmcgarry Apr 11 '12 at 17:25
    
@normmcgarry: set up one A record for each name. That's two A records. Each with the same IP-address. –  RedGrittyBrick Apr 11 '12 at 17:43
    
@grawity: thanks for pointing out the mistake, I'll correct the answer. –  RedGrittyBrick Apr 11 '12 at 17:44
    
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 Apr 11 '12 at 18:01

Your Answer

 
discard

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.