Author Topic: How to change MX record to subdomain?  (Read 3064 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to change MX record to subdomain?
« on: March 10, 2022, 04:30:22 PM »
In many panels the MX record is something like "mail.domain.com", but in cpanel the MX record is only the domain in this example is "domain.com".

If I set a different mx record for example "mail.domain.com" even if that subdomain points to the server I don't receive any email, how can we create a different mx record that works?

Offline
****
Re: How to change MX record to subdomain?
« Reply #1 on: March 10, 2022, 05:08:20 PM »
MX records should be as follows
@ IN MX 0 [and domain/sub that points to the server].  << Don't forget the period at the end

@ = domain
0 =  mailserver priority
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: How to change MX record to subdomain?
« Reply #2 on: March 10, 2022, 05:24:35 PM »
MX records should be as follows
@ IN MX 0 [and domain/sub that points to the server].  << Don't forget the period at the end

@ = domain
0 =  mailserver priority

This surely only applies when writing the DNS record manually into the file, right?

Offline
*
Re: How to change MX record to subdomain?
« Reply #3 on: March 11, 2022, 06:14:01 PM »
Yes with cwp I know that the MX record is only the domain, my question is there are any way to create a subdomain and use it on the MX record?

I have a subdomain mail.domain.com that is pointing to the server, but if I use that subdomain on the MX record the emails I never receive any email.

Offline
***
Re: How to change MX record to subdomain?
« Reply #4 on: March 11, 2022, 09:56:34 PM »
Yes with cwp I know that the MX record is only the domain, my question is there are any way to create a subdomain and use it on the MX record?

I have a subdomain mail.domain.com that is pointing to the server, but if I use that subdomain on the MX record the emails I never receive any email.

well... you can create any subdomain with an A record that goes to the server's IP and then use that subdomain as MX. The subdomain name is not the thing that matters, it's the IP behind it.

Sometimes it takes time for changes to the DNS to apply.