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 web server in our network that I would like to access with a host name like

What are the general steps I need to take to set this up? I have no experience as a sysadmin. I am asking this out of curiosity.

My sites are hosted in IIS 7 and Windows Server 2003.

share|improve this question
up vote 1 down vote accepted

As you're not the sysadmin, I assume you cannot manage your intranet's DNS. Just ask your sysadmin to add an A (or maybe CNAME) record for your web server's IP.

share|improve this answer
We are a small company that doesn't really have a sysadmin. When we need something like this done, we have a partner that we usually go to. I'm asking because I would like to know the general idea of how to do it. What do you use to manage the DNS? – Dismissile Feb 25 '11 at 16:18
@Dismissile: You manage DNS with what ever tools your DNS server requires. Do you know if you run your own DNS? Or is it hosted? Should you go mucking about in your DNS config without understanding the ramifications of breaking something, you could cause yourself more problems. Regardless, go ask your partner to add a DNS A/CNAME record for this server -- they should know what you need configured. – jscott Feb 25 '11 at 16:21
Ok. Lets say I have added a DNS record that says points to my web server. Is there anything that I need to do in IIS to tie this together? I want to access it like: – Dismissile Feb 25 '11 at 16:25
@Dismissile: You shouldn't need to tweak IIS... Unless you're trying run multiple sites on a single IIS server. If that is the case you'll need to configure host headers in IIS. – jscott Feb 25 '11 at 16:29

JScott's answer is the best way to do it. If you can't get the records inserted into DNS for some reason, you could always use your local HOSTS file instead. That's a means of manually defining a local IP-to-DomainName mapping. It's located in C:\windows\system32\drivers\etc\HOSTS on most Windows boxes.

The proper method using DNS is the better way in every shape and form. I'm just tossing this out there, as it would technically work. And it's useful knowledge to have.

share|improve this answer
You may want to mention that modifying the hosts file will only work for the computer which has the edited file. Changes to the hosts file do not "propagate" to other computers on the network. – jscott Feb 25 '11 at 16:12
I'm familiar with modifying the hosts file. How would you go about modifying the DNS records? Is there a tool sysadmins use? – Dismissile Feb 25 '11 at 16:19
No, it depends on how you are getting your DNS. Do you host your own DNS server, @Dismissile? Or do you use one upstream at your Internet provider? Otherwise, if you're a small business, you would probably be better off doing the hosts file method OR getting someone to come in and set up a small proxying DNS server in your network. – Bart Silverstrim Feb 25 '11 at 16:46

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.