Welcome to the Treehouse Community
Looking to learn something new?
Richard Cole1,635 Points
I have downloaded XAMPP and created a new file index.php in the ht.docs folder
I have also deleted all the other files in the ht.docs folder as suggested in the video and followed the rest of the instructions. However when i go into browser (chrome) go to localhost i can see my new test site but when i go to click on it shows parent director and i have to click on index.php file which gets to the end result of the video but in the video clicking on the test site it went straight to the test page. What i have i done wrong?
I just tested things on my laptop (an HP that uses Windows 7), and got the same result as Zac. When I type "localhost" in the browser, my "testsite.com" folder appears in the directory, and when I click on that folder, the browser shows the word "Test". But you're saying when you click on the folder you get the index.php file appearing, and then when you click on that, it takes you to "Test" on the browser? I use a Mac to do all of my Treehouse work, so I'm not too familiar with Windows, but perhaps something went wrong or was missed when you created the file and folder and/or installed XAMPP? Just a suggestion, but maybe you could redo the whole thing and double-check it follows exactly what Zac is doing/has typed. Hopefully someone else with more knowledge will chime in