Localdomains and Remotedomains

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
Hello,

I recently noticed a strange behaviour on one of our servers.

If I move a domain manually from /etc/localdomains to /etc/remotedomains, it will come back to list under /etc/locadomains after a few days. Of course, I didn't select "Use remote mail server" option in the DNS editor for this domain; as I said I moved it manually.

We didn't recreate the domain or change any cPanel settings for this domain in between.

Is it a normal behaviour?

Please advice.

Thank you.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
If the domain has the "MXCHECK" set to be local or 0 in /var/cpanel/users/username file, then that domain is expected to be set locally rather than remotely. It would be better to change the domain in WHM area rather than to be manually revising /etc/remotedomains and /etc/localdomains files without updating the /var/cpanel/users/username files.