Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Binding multiple domains to a website in IIS7.5

$
0
0

This is a two part question I think, or it may be the same thing, I'm not sure. 

1. We have a main .NET site, say OURSITE.COM.  In the IIS website basic settings we haveWWW.OURSITE.COM and OURSITE.COM (both of these versions of the domain are in the website's bindings ) pointing to our website in /inetpub/wwwroot/oursite/.  Both domains  work across most internet services, except for the fact that with AT&T (on an iPhone) OURSITE.COM (without the www ) does not come up. Can anyone suggest why not? 

2. We also have several other domains purchased to "protect" our identity.  Those are also included in the same bindings list for this site, but when trying to access any of these we get a .NET error ( see below - ip address excluded to protect the embarassed). In IIS6 this worked perfectly.  In IIS7.5 do I need to set up an entirely separate site for each domain and edit the web.config with httpRedirect like this:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpRedirect enabled="true" destination="http://www.oursite.com/" exactDestination="true" />
        <defaultDocument enabled="false" />
    </system.webServer>
</configuration> 

Here's the error:      

Server Error in '/' Application.
________________________________________
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <ip address>:80
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <ip address>:80

Responses appreciated! Thanks - Richard


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>