1

I have a Windows Server 2012 and have setup 2 websites in IIS8, and assigned to the IP address of the server (it only has one). They are both using port 80 as well.

How do I setup DNS records on the server so that the traffic is routed correctly? I can't find any information on the process on IIS8.

closed as off-topic by Iain, mdpc, Falcon Momot, Ward, Dennis Kaarsemaker Jan 13 '14 at 21:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Iain, Falcon Momot, Ward, Dennis Kaarsemaker
If this question can be reworded to fit the rules in the help center, please edit the question.

3

How do I setup DNS records on the server so that the traffic is routed correctly?

You do not. DNS only can point a domain name to an IP. Or multiple domains to the same IP.

What you are looking for is the BINDING in IIS - where you tell which HOST NAME (domain name) gets routed to which website. DNS is at that point not involved at all - that time in the request has long long passed.

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