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

CSS How to Make a Website Debugging HTML and CSS Problems Use Developer Tools

Michael Owens
Michael Owens
5,591 Points

Still loading default webpage

My domain is: http://codingadream.com

I have successfully sftp all my project files into the www folder, but when I load my domain, I am greeted with the default welcome page by webhostingforstudents.com

To verify that I uploaded my project correctly, I loaded http://codingadream.com/index.html

I also deleted the welcome.html page that was in www folder

I've tried looking for 'change default page' in the webhostingforstudents control panel, but no luck.

Thanks for any help

1 Answer

Chris Shaw
Chris Shaw
26,676 Points

Hi Michael,

I just checked your site from my connection at work and it loaded correctly with and without index.html, I would say your DNS is caching the request which you can fix normally by clearing your browsers cache, if that doesn't work you would need to clear your operating system cache which can be done via one of the many commands.

OS X Mountain Lion or Lion

sudo killall -HUP mDNSResponder

Mac OS X v10.6

sudo dscacheutil -flushcache

Yosemite

sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed

Windows

ipconfig /flushdns

Hope that helps.

Michael Owens
Michael Owens
5,591 Points

was great thanks!!! turn on dev options for safari under preferences> advanced and hit alt + cmd + e empties the cache too