We have a Windows 2016 server with the hostname, foo.example.com
.
When logged into it as a Domain Admin, if we enter itself as a UNC path in Windows Explorer...
\\foo.example.com\d$
...we can access it.
Same if we use localhost
or it's IP.
However, if we use another DNS A record for the same IP, let's say bar.example.com
, we get prompted for Administrative credentials.
AND if we enter correct credentials, we get a The specified network password is not correct.
What are we doing wrong?
UPDATE: Something else I should've mentioned is that this issue only occurs when on the server itself. If I navigate to the alternate A record (NOTE: not a CNAME...if that matters) across the network, it works fine.