configuration of coldfusion server

Posted on 2004-11-23
Last Modified: 2013-12-24

I have coldfusion MX server installed in my system. I already have IIS installed in the system and hence when i installed the coldfusion server it automatically configured the CFIDE pages to the Inetpub\wwwroot of the IIS.

Now i would like to run my own cfm pages using this server under a directory called sample. So i created a virtual directory in IIS under inetpub>wwwroot as sample and placed the files ther.But when i go to the url

http:\\localhost\sample\first.cfm it shows "file not found" error.

I have also configured the Coldfusion administrator with this logical path. But still it is not displaying the page.Can anybody please help me to fix this error.

Question by:awsns
    LVL 17

    Expert Comment

    http://localhost/sample/first.cfm is what it actually is

    when you open IIS and look at the default website, can you see the directory "sample" underneath it?

    Also try and enable directory browsing on the default website (not recommend for production servers), this will enable you to browse the web directories.
    LVL 35

    Expert Comment

    Your IIS website needs to be configured with the path to where "sample" is actually located.

    Open IIS
    Under Home Directory Tab:
      --> Click the top radio (A driectory located on this computer)
     --> Under local path enter the path to the sample directory.

    Click OK
    LVL 14

    Accepted Solution

    Hello awsns!

    I would rather suggest to create a new virtual directory under your default web site.

    Steps on creating a new virtual directory :
    1.  Open IIS
    2.  Right Click "Default Web Site" >> "New" >> "Virtual Directory"
    3.  Virtual Directory Creation Wizard will popup, just follow the wizard.
    4.  Provide an alias name as "sample"
    5.  Enter the full path in which your .cfm pages are located.
    6.  Click Next until finish setting up a virtual directory.

    Then, it is now ready for browsing.

    Hope this helps you.  Just try it.

    eNTRANCE2002 :-)

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
    One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
    The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
    The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now