I have an account with domain.tld as the main domain, so I created a second account with the main domain as sec.domain.tld.
Externally this domain sec.domain.tld resolves and pings normally to server's IP, but locally the shell cannot resolve and cannot ping to sec.domain.tld
This behavior did not happen before, I even have other old accounts in this similar situation and the local ping is able to resolve normally.
Any idea if it's a misconfiguration I've done or any idea what's causing this behavior?
Ps 1. I've already created an A record in the domain.tld zone pointing sec.domain.tld to the same server IP and it didn't work.
Ps 2. If I create a subdomain in the main account, like ter.domain.tld, works and the server can resolve locally, but if I create it as the main domain of another account it can't resolve locally.
CentOS 7.9 - cPanel WHM 98.0.5
Externally this domain sec.domain.tld resolves and pings normally to server's IP, but locally the shell cannot resolve and cannot ping to sec.domain.tld
This behavior did not happen before, I even have other old accounts in this similar situation and the local ping is able to resolve normally.
Any idea if it's a misconfiguration I've done or any idea what's causing this behavior?
Ps 1. I've already created an A record in the domain.tld zone pointing sec.domain.tld to the same server IP and it didn't work.
Ps 2. If I create a subdomain in the main account, like ter.domain.tld, works and the server can resolve locally, but if I create it as the main domain of another account it can't resolve locally.
CentOS 7.9 - cPanel WHM 98.0.5
Last edited: