It has been ages since I've setup ColdFusion with IIS and at my new job we're also using Railo. Last week we worked through the installation process for getting both Adobe ColdFusion and Rail connected to IIS. I thought I'd blog about it here as it may be helpful to others.


  • Windows 7
  • IIS 7
  • ColdFusion 9
  • Railo 4


Edit your hosts file (C:\Windows\System32\drivers\etc\hosts) and add the following:

  • a.local
  • r.local

Install IIS

  • Click Control Panel > Programs > Turn Windows Features on or off.
  • Install IIS with these options

IIS Installation

Configure IIS

  • Verify configuration
    • For: IIS Metabase and IIS 6 configuration compatibility
      • 32bit Windows - off
      • 64bit Windows - on
  • Open IIS Management Console
    • Delete default website and setup two new sites.
      • Adobe (C:\inetpub\wwwroot\adobe) a.local
      • Railo (C:\inetpub\wwwroot\railo) r.local
    • Create an index.html file and place a copy in each root /coldfusion/index.html & /railo/index.html
    • Verify IIS responds to both http://a.local and http://r.local

While you can organize your directories how you like - this guide assumes you have created the two directories under the webroot.

IIS Sites

Install ColdFusion

  • Select "Use internal web server"
  • Verify you can access the local ColdFusion administrator on port 8500:
  • Run the Unofficial Updater to patch ColdFusion

Install Railo (NOT Express)

  • During Railo installation it will connect to IIS
  • Verify Railo installed correctly by creating C:\inetpub\wwwroot\railo\index.cfm

Test Railo

<cfdump var="#server#" />

Railo Dump

  • Verify the dump for Railo information at http://r.local

Configure ColdFusion

  • Run the ColdFusion web connector: C:\ColdFusion9\runtime\bin\wsconfig.exe
  • Select the "Adobe" IIS Website (which you created above)
  • Click "Configure web server for ColdFusion 9 applications"
  • Click OK

ColdFusion Configuration

Test ColdFusion

  • Create an index.cfm in C:\inetpub\wwwroot\adobe directory with a cfdump tag
  • Verify http://a.local/index.cfm returns a proper ColdFusion dump (NOT a Railo dump!)

ColdFusion Dump


  • If you continue to get the "Bon Code" error try re-registering Re-register under the correct .net version, run command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

Published on Monday, May 13 2013    


Comments disabled for this post. Still want to bug me about it? Hit me up on one of the social sites listed to the right.


Jim is a Senior Applications Engineer working at Red Hat. He slso likes motorcycles and keeping his quadcopter out of trees.