We Rock Your Web in the Press!
Home > Tech > Web Development > Step by Step Guide on How to Setup MX Records

Step by Step Guide on How to Setup MX Records

Settings MX records manually can be useful if you want to host your site on one server but handle email via another server or hosting company.  If you have access to WHM, you can usually set MX records yourself.  If you do not, submit a support ticket to your hosting provider.

Adding and Settings MX Records in WHM (Web Host Manager)

  • Log into WHM (via example.com/whm)
  • Under “DNS Functions,” click on “Edit DNS Zone”
  • Choose the domain name for which you wish to set MX records and click “edit”
  • Add new records (usually two) pointing to the server (domain name) that is hosting your email, in the following format:


domain name | TTL | Record Type | Priority | MX Record
example.com. | 14400 | MX | 0 | mx1.example.com.

Important - remember to place periods after the domain name and MX record entries!

  • Erase the values for your old MX entry and click “save”

You have successfully created new MX record entries, setting your email to be handled by another server.

Post any questions or comments below.


About Alex Schenker

Alex bring a series of in-depth articles on search marketing and content management systems as well as troubleshooting tips to We Rock Your Web's collection. He is an avid tennis player, nature enthusiast, and hiker, and enjoys spending time with his wife, friends, and dogs, Bella and Lily.
  • Anonymous

    If the email for a domain is handled by an external server, shouldn’t the domain also be removed from /etc/localdomains and added to /etc/remotedomains ?

    This is easy if one is running a VPS, but if it is just a reseller account, one has to ask the hosting company to do it.

    A word or two about how to make the changes using command line would add to the value of this tutorial.

  • Anonymous

    Thank you so much for this simple tutorial. I never knew how to direct an email to a different server than the web account before, but you have clearly make an understandable tutorial :)

    Melvin

  • Anonymous

    Hello,

    I want to set up mx records using a .tk domain account. Please help and also tell how could I use it.

    • Web Rocker

      MX records are specific to your email hosting provider. Ask them what your MX records should be. Then tell your website hosting provider (may be the same as your email hosting provider) to set them for you if you don’t know how.

  • Anonymous

    I Am Basu. Please help me.

    OS: Red hat Linux

    Mail:SquirrelMail

    In my mail server I can send mails to others (outgoing is working) but I am not able to get the mails from the outside.

    • Anonymous

      You are Basu and I am your boss.

      Ok bye. Take care & keep smiling