Click here to Skip to main content
15,885,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We have a dev server called Obama, 2008 R2, and using the URL http://Obama gives me the default 'IIS landing page'. Now I create a new web site on Obama called Alexandria, bound to the host name 'alexandria' on port 80. To access that site, I have to either set the DNS up correctly on Obama, or add an entry to my HOSTS file, pointing 'alexandria' to Obama's IP address. My problem here is to use my site, the whole dev team has to edit each of their HOSTS files as well.

I believe I should be creating at least an A record, and maybe one other, on Obama's DNS. Then, when Obama receives a request for 'alexandria', it knows what to do. I have asked about this before, and responses have been of the ilk, 'Oh, just set up the DNS properly', without even saying whether I must configure the main domain DNS, or Obama's DNS, or do I have to do something on both? My machine knows what machine is called Obama from the domain DNS, but is there anything else I might have to do to that DNS, or is setting Obama's DNS properly enough?

In the latter case, will somebody please explain in high detail how I must go about configuring Obama's DNS. What entries I need and how I go about creating them. BTW, I have only just added DNS as a role on Obama.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900