RDP name and Hostname

I have some computers that I access through RDP.
They gave me the names of the computer to access through RDP
for instance when I open RDP an type Xcomputer  click OK then authenticate then I am able to login to the machine.
When I go and verify the name of the computer I find that it is not Xcomputer it is Ycomputer.
I wonder how did they make that happen, I mean use one name on the RDP window to login then findout that the hostname is completely different than what is typed in the RDP window.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maybe you have stale DNS cache on your machine.

ipconfig /flushdns
It can be due to the wrong DNS entries....
if this is done specifically then they are using Alias name (also name as cname) in DNS.
10 Holiday Gifts Perfect for Your Favorite Geeks

Still have some holiday shopping to do for the geeks in your life? While toys, clothing, games, and gift cards are still viable options for your friends and family, there’s more reason than ever to consider gadgets and software.

may be some one put static entry in to DNS to Ycomputer name to xcomputer IP address, and this is configured with static IP address.
Try an nslookup.

<computer name>
there might be Alias entry on the DNS for the YCOmputer point to Xcomputer.
This means that the entry in DNS for XComputer is pointing to YComputer.

This could be done through DNS alias entry or Host 'A' entry pointing to YComputer IP.

This could also be done due to NLB configured for Terminal Services. Like One Computer Name that is XComputer is the user display name but at the back-end can connect to many machines.
jskfanAuthor Commented:
I run:
 Nslookup  -q=all Ycomputer

to retrieve all dns records related to Ycomputer , but didnt see anyhing about Xcomputer
You should try this,

nslookup xcomputer

this should point to ycomputer.

If this is not the case then then it can be a NLB/cluster.
jskfanAuthor Commented:
I can not RDP to it now as I used , they might have removed the CNAME record from DNS,
I cannot verify it.
You should still be able to RDC to the machine using an IP address.
Yes, you are right that they have removed the xcomputer name entry.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.