Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Setting up DNS records to point to website hosted on another server

Posted on 2013-10-27
10
Medium Priority
?
205 Views
Last Modified: 2013-10-29
Currently, our website is hosted on the same server as email.  We wish to have website hosted on another server, and keep email on the current server.  How can I set up DNS records?

current setup:
mydomain.com.      A      69.xxx.xxx.xxx      
ftp      A      69.xxx.xxx.xxx      
imap      A      70.yyy.yyy.yy      
localhost      A      127.0.0.1      
mail      A      69.xxx.xxx.xxx      
pop      A      69.xxx.xxx.xxx      
smtp      A      69.xxx.xxx.xxx      
mydomain.com.      NS      ns1.xxxyyyzzz.com.      
mydomain.com.      NS      ns2.xxxyyyzzz.com.      
mail      MX      10      
mydomain.com.      TXT      "v=spf1 a mx ip4:69.xxx.xxx.xxx ~all"
0
Comment
Question by:mrdanmrdan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39604530
All that should be required is to set your MX records to point to the mail server and add an A record for the mail's domain..
What OS are you on/what control panel do you have?
0
 

Author Comment

by:mrdanmrdan
ID: 39604669
Linux/DirectAdmin

MX records and A record already work as set up for email.  A records already are set up for website as well and work correctly.  I moved website files to another server with a new shared IP address and want to set up the A records to now reach the new website/server, and leave the email on the current server.

There is also a www A record at  69.xxx.xxx.xxx IP address that I did not list above.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39604677
Does your email server have it's own IP?
On the website server you need to change the MX record (mail subdomain - or whatever you use) and add the A record (for mail) to point to the email servers IP.
0
Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

 

Author Comment

by:mrdanmrdan
ID: 39604687
email server has same shared IP address as the current web server.

It is not the email server that I am trying to change.  It is the website server.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39604694
Not sure if I am following you here
If you are wanting to keep the email on a server with a shared IP and the website on another completely separate server then you need a separate domain for the email.
You can only have your NS pointing to one server (barring a fallover server).
0
 

Author Comment

by:mrdanmrdan
ID: 39604702
So I have my NS pointing to the server where the email is.  Can I set up an "A record" to point to a different IP address where the website server is?
0
 
LVL 58

Expert Comment

by:Gary
ID: 39604706
Is the server, where the email is on, a server with other domains on it?

Your NS and all other records should be pointing to where ever you website is hosted.
0
 

Author Comment

by:mrdanmrdan
ID: 39604716
Yes the server where the email is on is a server with other domains on it.

So I guess the only way to make it work is to change NS to be where the website is hosted, and then set MX record on the new server?
0
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39604717
Then you cannot have the email separate from the website - they need to be on the same server unless you get a separate domain just for the email.
0
 

Author Comment

by:mrdanmrdan
ID: 39604721
ok.  Thanks.  That makes sense.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question