Configure additional bindings in IIS 7.5 so websites answer to different names

One of the main purposes of the “Bindings” setting for a website’s properties is so the webserver knows which website to serve out when a request comes across on port 80.  After all if a server is literally serving out 50 websites on port 80, it has to have a way to know which site a user is trying to get to.  The Bindings of a website provide the ability to provide the host name that a particular website is bound to.

A critical piece to the puzzle of correctly working bindings is DNS.  After all, hosts use DNS in most of today’s modern day networks to resolve IP names to host names and reverse DNS to resolve host names to IP addresses.  If DNS is not setup correctly with the correct records for hosts that you are trying to resolve for bindings purposes, the website lookups will fail and the IIS server will not be passed the correct information to serve out the correct website.  Usually this is done with CNAME or alias records that point multiple different hostnames to the same web server.  The webserver then takes the requests that are passed through to it via the CNAME record and correlates this with the binding of a particular website.  So, the web server can run potentially as many websites as it has the physical resources to run, all on the same port, i.e. 80.

To view the bindings of a website, open your Internet Information Services (IIS) Manager and right click on the website you want to view the bindings for.  Then select Edit Bindings:



This takes you to the Site Bindings dialog box



Click the Add… button to add bindings to your website.  For instance, if we wanted to add the binding for mywebsite.mydomain.comb we can easily do this:



Keep in mind as we mentioned in the outset, DNS has to properly pass any configured Host name: that you add via the dialog above to the web server for the bindings to actually work.  If this is simply an intranet website that we are adding bindings for, we can easily control that via internal DNS entries.  However, things can become more complicated from the outside since DNS records as well as any configured domain names must be correctly configured and passed along accordingly.

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.