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

i have a windows 2008 R2 server. what i want to know is that how can i make it if one should access my server using a domain name i purchased instead of my static IP provided by my ISP?

for example i want users to access my server by typing instead of my ip.

how do i set this? is this done at the server or at the router?

could someone give me detail explanation as i am not familiar with networking and server field?

share|improve this question

closed as unclear what you're asking by Ward, kasperd, masegaloeh, Katherine Villyard, Jenny D Apr 19 '15 at 18:44

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

There are two fundamental things you need to do:

NB: Do these in order, and test the first section by using your static IP from outside of your home.


If your server connects to the internet through a router, then you need to either add your server to the DMZ (This will direct all traffic to your IP address to the server. This is dangerous!) or forward the specific ports that you need to it. To do this, you'll need to log onto the router itself and find "Port Forwarding"


You need to configure to point to your static IP. Do this by going to your registra (The place you purchased it from), and figure out how to add an "A Name Record". This record will contain your static IP.

This may take a few hours to take affect, so be patient. Test it first by going to the command prompt and pinging and looking to see if it's returning your static IP.

share|improve this answer

It should be done through configuration at the site where you've purchased the domain name, there they would have DNS configuration and you should change the record to point to your IP of your server. After you do that and it works you should change the MX and all the rest records that you want. I can't give you exact details since each domain seller has a different Web interface for the configuration page.

share|improve this answer

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