IIS



When you use IIS, you run the IIS Administrator to create additional websites and run the Web Server Configuration Tool. You store ColdFusion pages under the web root of each virtual website.

Connect multiple virtual sites on IIS to a single ColdFusion server

  1. Use the IIS Administrator to create virtual websites, as necessary. The web root directory should enable read, write, and execute access. For more information, see your IIS documentation.

  2. Configure DNS for each virtual website, as described in your IIS documentation.

  3. Test each virtual website to ensure that HTML pages are served correctly.

  4. Run the Web Server Configuration Tool, as follows:

    • GUI - Select IIS for the Web Server, select All from the IIS Web Site drop-down list, and select the Configure Web Server for ColdFusion Applications check box.

    • Command line - Specify the -site 0 and ‑cfwebroot options, as the following server configuration example shows:

      cf_root/runtime/bin/wsconfig.exe -ws iis -site 0  
      -cfwebroot cf_root/wwwroot -coldfusion -v
  5. Test each virtual website to ensure that ColdFusion pages are served correctly.