Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically, I don't want my server accessible via the primary domain (which is shared with the primary IP). Is there a way I can block it via the domain but allow it directly on the IP only? Or even setting up the domain as " that will route to that port?

Thanks, Mike

share|improve this question
What version of Windows? – SpacemanSpiff Jan 20 '11 at 4:06
Windows 7 would the OS – Mike Jan 20 '11 at 4:14
Why not use the internal Firewall of Windows? Block in Domain the RDP Port and activate it for other ips? – patricks Jan 20 '11 at 13:11
up vote 0 down vote accepted

Accessing RDP via name or ip address still connects to the same port on the server. What you're wanting is for dns to not resolve when the rdp client uses the name, and it just doesn't work that way. If you want to make it a little more secured, then consider changing the rdp port on the server to something other than the default of 3389. You could also consider using the Windows Firewall on the server to block connections except for allowed ip addresses as well.

share|improve this answer
This is true; but I didn't want to use the "allow ip addresses" since I could be on any network. But I think the idea of changing the port would probably work the best. Thanks! – Mike Jan 20 '11 at 23:22
Here you go. – Calvin B. Jan 21 '11 at 13:07
Thanks Calvin!! – Mike Jan 22 '11 at 6:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.