How do I properly separate two ColdFusion apps on IIS by subdomain?
October 31, 2008 6:03 AM
Subscribe
Two ColdFusion applications on separate subdomains in IIS are getting confused with eachother. How do I properly separate them? Note: My experience with ColdFusion starts with Metafilter and ends with my recent editing of jrun-web.xml.
We recently installed an additional ColdFusion application on an IIS server. There was already an existing CF app installed, so we created a new website entry in IIS and are separating them by subdomain, by giving them different Host Header entries in IIS, i.e.:
www.domain.com -> Existing (old) app
newproduct.domain.com -> Newly-installed app
Something, however, is causing them to run over eachother. Here's the basic scenario:
1. Load www.domain.com, the old app shows up.
2. Load newproduct.domain.com, the new app shows up.
3. Try to load the old app again, www.domain.com, but the new one shows up instead.
4. After a few minutes, you can start over with step 1 and get the old app back.
This is not a browser issue, since right after Step 2 I can hop over to a completely different network and browser, and Step 3 still occurs.
Both apps use "index.cfm" as their default page. I have lots of different applications separated on this IIS server by subdomain and this has never happened before, but they're plain PHP/HTML. I feel like this is a ColdFusion issue, but I don't know how to diagnose it beyond that.
Any tips are appreciated!
posted by odinsdream to computers & internet (11 comments total)
posted by adipocere at 6:48 AM on October 31, 2008