Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i install DNS Server on windows server 2008 r2 and install IIS on it.

i want to know how can i configure my dns records to show sites to my users .it is an external dns server and i want to install many sites on it's iis , when user call for example www.test1.com show site1 on port 8085 and when request test2.com show site2 on port 8090

but like host centers i do not want user enter port number at the request like test1:8085.com

or somethings like this

how can i handle my dns server and iis?

share|improve this question

closed as not a real question by Mathias R. Jessen, Michael Hampton, Khaled, mdpc, Ward Mar 12 '13 at 13:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

What you're looking for is how to set up something known as a name-based virtual host. This is a feature where a webserver examines the HTTP/1.1 HOST header supplied in a web browser's request and uses this to determine what website is being requested.

None of these websites would need their own unique ports configured (unless special circumstances arise): they can all share port 80.

While it would be possible for someone who knows IIS better than me to guide you through this process, I think it would be best to steer you toward seeking some self-education on the topic of web hosting. Name-based virtual hosts are considered fairly basic knowledge in professional hosting environments, and you are going to run into many problems trying to set up working configurations if you have not been exposed to the names of concepts like this one. It's hard to search for help on Google otherwise, nevermind this website. :)

We're here to help you with technical problems that you run into along the way, but it'll be a very slow and inefficient process to help you every time something like this pops up.

share|improve this answer

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