Skip to main content

Steps to Setup DNS while Website and Emails are hosted by two different companies

Comments

7 comments

  • cPanelMichael
    Hello, 1. For email, you can update the MX records for the domain name (at the server that handles it's DNS records) to point to the remote mail server if all email activity is handled on that remote server: MX Entry - Documentation - cPanel Documentation Keep in mind that all email activity (email account creation, webmail, message delivery) would then be handled on the server that hosts the email, as there's no synchronization functionality available. As far as moving all of the emails from the other servers to the new one, imapsync is useful for that purpose: HOW TO: Using IMAPSync to Transfer mail from server to server 2. For website files, simply ensure the domain name and it's subdomains all resolve to the IP address of the server that's going to host it's website files. If that server uses cPanel, you can copy over those files using "WHM >> Transfer Tool". Otherwise, you'd need to manually setup the domain name on that remote server and upload the files to it manually using a protocol such as FTP. Thank you.
    0
  • Martyn Coomber
    Thanks for this. As I said, I'm new to cPanel. So even after reading the attached links, I still have no clue as to how I go about resolving the IP Address to the website files. Please assist. Thanks
    0
  • cPanelMichael
    Hello, First, you'd need to determine where the domain name's DNS is hosted. For instance, at the domain registrar for this domain name, do you use your own custom name servers, or the registrar's name servers? Thank you.
    0
  • Martyn Coomber
    Hello, As at the moment the Domains name DNS is hosted with Company B. Thank you.
    0
  • cPanelMichael
    As at the moment the Domains name DNS is hosted with Company B.

    In this case, you'd ensure the DNS records are setup on the "Company B" server. Does it use cPanel? If so, you can use "cPanel >> Zone Editor" or "WHM >> Edit DNS Zone" on this server to add or modify DNS records for the domain name. Thank you.
    0
  • Martyn Coomber
    Hi, I've attached the Zone list for Company B. please let meknow which of the entries I should give Company As settings to. Thanks
    0
  • cPanelMichael
    Hello, Ideally, you should simply update the name servers for this domain name at it's registrar so it points to "Server C" since that's where all of the website content is hosted. This way, you don't have to manually adjust all of the DNS zone entries. Once you do this, you'd simply access cPanel for the domain name on "Server C" and update the "MX records" and "mail" record for the domain name so they point to "Server A". Thank you.
    0

Please sign in to leave a comment.