Skip to main content
Participant
January 27, 2011
Question

CF pages for site redirect to a different IIS site

  • January 27, 2011
  • 1 reply
  • 815 views

ColdFusion 8,0,1,195765

Windows Server 2003 R2 SP2

IIS 6

I have 4 (for arguments sake: site1, site2, site3 and site4) sites set up in IIS, all using CF on individual IP addresses.

When I try and add a new site (site5) to replace any one of the 4 existing sites, every page request for site5 resolves to site2.  If I try to replace site2 with site5, I get the following error when browsing to the site:

Error 102 (net::ERR_CONNECTION_REFUSED): Unknown error.

I have not had a problem adding sites up to the current point and each site works fine independently.  I have tried replicating settings from the other sites but this has made no difference.

If I remove the cf mapping from the site or browse to a non cf page (aps, php, html) the pages load fine.  Adding the CF mapping back in causes the redirect to site2 again.

Any ideas or suggestions would be greatly appreciated.

Thanks,

Paul

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    January 30, 2011

    Paul, the first thing I'd consider (as a quick and dirty) would be to call up the Web Server Configuration tool (for CF) and see what's setup there. (Since you're on Windows, use Start>Programs>Adobe>ColdFusion8>Web Server Configuration Tool).

    You may have setup a connection for each site, or for all sites. In either case, you could consider removing and re-adding the connection(s) there, to see if that shook out the cobwebs.

    You could also look at the logs for all this, which are in the C:\ColdFusion8\runtime\lib\wsconfig, if you're running CF Standard or Server mode. If you're running multiserver, they're at C:\JRun4\lib\wsconfig. Either way, note that there are multiple logs in different directories, and you may have more than one subdir there if you did setup the web server config tool to connect individually to different sites. They may give you some insight.

    You'll also see in the ini and properties files there information that may give you clues.

    If you're still stuck then, you could (and should) also look at those mappings, both those for each site and for "web sites" (which controls them all by default, if you told CF to configure "all sites"), and look also at both the .cfm mappings and the "wildcard mappings", which appears at the bottom of the page with the other mappings. (For those on IIS 7, you'd look in Handler Mappings instead for the CF mappings, and the wildcard mapping is the one shown for the "path" of "*".)

    Hope that helps some.

    /charlie arehart

    charlie@carehart.org

    Providing CF and CFBuilder troubleshooting services

    at http://www.carehart.org/consulting

    /Charlie (troubleshooter, carehart. org)