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 trial

PHP

Brian Patterson
Brian Patterson
19,588 Points

MAMP Keeps defaulting to the previous website.

I have downloaded MAMP so that I can have my local server. Every time I change the root file it keeps reverting back to the previous website. I have checked that the cache is not on and I am wondering if I am missing something else.

Just to clarify, you're saying there is like an index page at the root of the site. You make a change but it doesn't save? Are you sure you're changing the right file? You can make sure by checking the document root of the vhost in the apache config for the site.

Brian Patterson
Brian Patterson
19,588 Points

I have worked it out. You don't refresh your website you need to refresh the MAMP site first and then refresh your site.