configuration of coldfusion server

Hi,

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.


Thanx
awsns.
awsnsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tacobell777Commented:
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.
0
mrichmonCommented:
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
0
Renante EnteraSenior PHP DeveloperCommented:
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.


Goodluck!
eNTRANCE2002 :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.