CNAME and MX records

Discussion in 'Server Operation' started by Wandering-Aimlessly, Jul 27, 2009.

  1. Wandering-Aimlessly

    Wandering-Aimlessly New Member

    Hi, I have been doing some reading but seem to find conflicting info.

    I host a domain whilst the website is being maintained on another by another company (complicated story).

    I still host the email and do spam filtering and I am using "A" records for "" and ""

    The other company will soon ask me to change the DNS to use a CNAME for the website.

    The question is, can I still set up a CNAME for "" and "" whilst still having the email remain on my server ?

    Geee, I do hope that makes sense !

    Thanks for reading.
  2. falko

    falko Super Moderator ISPConfig Developer

    Yes, but make sure that your MX record points to an A record (CNAMEs are not allowed for MX record). For example, you could create an A record for which points to your server, and then you change the MX record so that it points to
  3. Wandering-Aimlessly

    Wandering-Aimlessly New Member

    Thanks Falko.

    So, just to be sure I understand correctly: IN CNAME IN CNAME

    Will cause any access to the website will go to the hosting for

    And :- IN A IN MX 5

    Where is the IP where this record exists will cause the email to stay on this server.

    Sorry to be a pain, I really do appreciate your help.
  4. falko

    falko Super Moderator ISPConfig Developer

    It just means that requests for and go to the same server where is, but it doesn't mean you will see the contents of in your browser. That is up to the http server configuration.


Share This Page