0

I have a server that running IIS7 and DNS server. I have 2 domains:

www.mydomain1.com
www.mydomain2.com

I want to visitors from internet coming without port of this sites. What may i do for this?

MERT DOĞAN
  • 2,864
  • 26
  • 28

1 Answers1

0

If I understand your question correctly, you need to set up two separate websites within IIS, and configure the bindings on each site - select the Bindings option and specify the correct hostname, for each site.

Note - this will only work for HTTP sites; if you want to route HTTPS to each site, they'll each need a unique IP address as you cannot setup hostname bindings for secure sites.

Alan
  • 2,962
  • 2
  • 15
  • 18
  • Yes this is what i want. But i don't want users to use ports like www.mydomain1.com:81 or www.mydomain2.com:82. I want users simple visit www.mydomain1.com or www.mydomain2.com and server understand automatically which port server configured to host this site. – MERT DOĞAN Dec 11 '14 at 22:31
  • 1
    You don't need to use ports to set up bindings - the server uses the hostname included in every HTTP request to route requests to the correct site. – Alan Dec 11 '14 at 22:36
  • Thank you Alan. I wasn't know that and my question is ugly know. Thank you for this simple and big information. – MERT DOĞAN Dec 11 '14 at 22:38