Page 1 of 1

Setting up the localhost properly

PostPosted: 12. February 2012 23:34
by adam939213
Hello everyone,

I have been having some trouble setting up the localhost and running websites using xampp. The problem is a follows:

I used to be able to type in "localhost" into the url and hit enter. After doing that it would show me all my folders (of websites) i had created.

Example - localhost/mySite/index.php

However, now when typing in localhost and hiting enter it takes me to localhost/xampp.

I am thinking I need to set a directory in localhost/xampp but I am not too sure

Any ideas on how to fix this problem ?

Thanks

Adam

Re: Setting up the localhost properly

PostPosted: 13. February 2012 02:02
by hackattack142
You need to either rename or remove the index.php and index.html files in the htdocs folder. The index.php automatically redirects to the /xampp directory.