Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRyan Hellerud
3,635 PointsHow to change the start page to load my project folder on web server start up?
I would like to be able to load my specified project folder instead of using the htdocs defaulf folder, what settings do I need to change to do this, because I have been trying but haven't been able to get it working for some reason, plz help!
2 Answers
Ryan Hellerud
3,635 PointsI got it i just had to go to 'localhost' to acccess it thanks.
Shawn Flanigan
Courses Plus Student 15,815 PointsRyan,
If you open MAMP and click "Preferences", then "Apache", you should see a "Document Root" field. Click "Select..." to find the folder you'd like to use and then click "OK". MAMP should automatically restart your servers and use the selected folder.
Hope that helps!
Ryan Hellerud
3,635 Pointsi tried that but it didnt work. I think i also need to change the preference for 'open at start up'. Do i need to change that to index.php or a directory?