In our dedicated server even we run "/usr/local/cpanel/bin/set_hostname" from SSH as ROOT all notifications from the server has wrong hostname URL. The problem remains only in notification mails and sometimes HTTPS URLs (but this one is cause of local DNS records i guess).
We already did:
- Changed hostname from WHM
- Changed RDNS records
- Fixed etc/hosts
- Run /usr/local/cpanel/bin/set_hostname [hostname]
- Fixed WHM api1
- Reboot :)
- Read StackOverflow
So can anyone offer a solution for this issue?