Confusing dns issue with a client account imported from cpanel

4 posts / 0 new
Last post
#1 Fri, 11/22/2019 - 22:58
adamjedgar

Confusing dns issue with a client account imported from cpanel

I recently imported a client account from cpanel. We also moved their domain to a new registrar.

I now host their website and email on my shared hosting system server1.domain.com

Now I am striking a problem that I cannot make sense of...

First...some housekeeping... server1.domain.com is my webhosting/mail server clientdomain.com is the client virtual server name and domain.

So, heres the problem...(well 2 problems actually)

  1. If I set the client mx record to server1.domain.com their email fails

However if I set client mx record to mail.clientdomain.com emails start working.

I have another client on the same system (not imported via cpanel) which uses mx record server1.domain.com and their emails are working.

I don't understand how this can be? Is this something the cpanel import has done to the virtual server itself?

Both client accounts have A records pointing at the same server1.domain.com IP address and their websites are functioning perfectly. It's just the mail that is not right.

  1. Also, server1.domain.com is using ssl cert domain.com (which is also the first virtual server on it ...ie my hosting business website). When I view ssl certs from postfix, I notice it's displaying as domain.com (and not server1.domain.com).

When i check virtualmin>Server Configuration for my own business virtual server the certificate is for host.domain.com, domain.com, mail.domain.com, www.domain.com.

However, underneath that is says,

This SSL certificate is already being used by : Webmin (domain.com), Usermin (host domain.com), Usermin, Dovecot (host domain.com), Postfix

I am confused by that...why is it saying "host" and domain.com but not server1.domain.com? It seems like webmin and postfix are not using the right certificate...ie one for server1.domain.com.

Is this a problem? (My shared hosting clients mail apps are throwing ssl cert errors for this certificate and I think it's because it's hostdomain.com instead of server1.hostdomain.com)

Sat, 11/23/2019 - 07:02
adamjedgar

I also noticed, (on my virtualmin system where this client domain was imported too), if i do a dig mx clientdomain.com , it shows their old mail service however if I run the same checks through mxtoolbox.com it's different...shows new registrar as SOA and new mxrecord (server1.domain.com as outlined in previous post). What could be causing this?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Sat, 11/23/2019 - 10:45
Jfro

dns caches and ttl times could be.

Sat, 11/23/2019 - 16:44
adamjedgar

What about the other client domain imported from cpanel. Any ideas on why mxrecord server1.domain.com doesn't work? (where domain.com is my hosting server primary domain)

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Topic locked