creating local host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • naseerhamdani
    New Member
    • Sep 2007
    • 12

    creating local host

    Hey!
    I wanted to test the code which iam writing and i wanted to know how to creat the local directory for coldfusion where i can test the code i've written... i am unable to test the pages as the pages doesn't get picked up from the 'localhost' but from a drive on hard disk...
    The text "Sams teach yourself Coldfusion in 24 hours" talks about the localhost but i am unable to creat one, it would be helpful if someone can let me know how to do this so that i can test my code.
    Regards.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You will need to set up a web server, e.g. IIS on Windows or Apache.

    Comment

    • naseerhamdani
      New Member
      • Sep 2007
      • 12

      #3
      Thanx for the reply.
      Using my operating systems CD i have checked the IIS sharing box and installed the same, I find the websharing tab in the folder properties... but i dont know what to do next... it would helpful if U can lemme know that...
      Need Ur help :)
      Reagrds

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        If you got to http://localhost/ does the default web page show up?

        Comment

        • naseerhamdani
          New Member
          • Sep 2007
          • 12

          #5
          Nope. I cannot connect, it shows an error saying the same cant be done.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            This is now an IIS problem, so I'll leave that in the capable hands of the IIS experts who'll hopefully be able to help you resolve the problem.

            Comment

            • kenobewan
              Recognized Expert Specialist
              • Dec 2006
              • 4871

              #7
              What OS are you running? Is IIS installed, if so which version? You don't supply sufficient info. Thanks.

              Comment

              • naseerhamdani
                New Member
                • Sep 2007
                • 12

                #8
                i am using Windows XP, and yes IIS is installed on the computer...

                Comment

                • kenobewan
                  Recognized Expert Specialist
                  • Dec 2006
                  • 4871

                  #9
                  Sorry I don't think the solution I had in mind would work from your cd/dvd drive.

                  Comment

                  • acoder
                    Recognized Expert MVP
                    • Nov 2006
                    • 16032

                    #10
                    Originally posted by naseerhamdani
                    i am using Windows XP, and yes IIS is installed on the computer...
                    I'm assuming that's XP Professional because I don't think the Home version supports IIS.

                    Has an Inetpub directory been created on your C drive, so you have something like:
                    C:\Inetpub\wwwr oot ?

                    Comment

                    • naseerhamdani
                      New Member
                      • Sep 2007
                      • 12

                      #11
                      I have the Inetpub\wwwroot in my C drive and i assume the problem is because of the University computer which i am working on...
                      I consider the computer is secure to have a vitual webserver, will it be this way if a computer is running on the secure network?

                      Comment

                      • acoder
                        Recognized Expert MVP
                        • Nov 2006
                        • 16032

                        #12
                        Well, if it's a university computer, that might be the problem. You may need to ask someone to set it up for you because you might not have the required permissions, though I'm not sure.

                        Comment

                        • moggaa
                          New Member
                          • Sep 2007
                          • 13

                          #13
                          hi naseerhamdani

                          if you would like to know are your local host is running or not you have to try http://localhost/ from your explorer if it not worrking you have to check your system, like
                          open Control Panel then Add Or remove program then in the left navigation click on add/remove windows components then wait then double click on internet information system (IIs) make sure that you checked all then ok and keep on after you finsh all and click ok in all applacation and restoring files from your cd windows try to use http://localhost/
                          Last edited by MMcCarthy; Dec 17 '07, 12:15 PM. Reason: rtemove personal contact information

                          Comment

                          Working...