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 trialMaureen Johnston
9,058 Pointsupload the website
I have purchased my domain and pointed it to a web host. I waited 24 hours and still when I try to navigate to my domain in a web browser I keep getting the web hosting for student default landing page instead of the Index of / page to my domain. Any suggestions?
7 Answers
Tom Hill
14,232 PointsAre there any other files in the directory? It could also be your web host hasn't yet configured the .htaccess file correctly (most usually do) - you can make a new .htaccess file with a generator, just set the directory index to index.html. I'd probably want to check up with the host's support first though - they might be able to fix your problem before you go to all this trouble.
Andres Altuve
16,274 PointsMaureen DNS propagation takes up to 48 hours, some companies have a default webpage, you could try to access your hosting thru FTP if you are able to do it, delete the index.html and put yours.
If you bought the domain and webhosting with different companies make sure you wrote the DNS correctly.
Greetings.
Maureen Johnston
9,058 PointsThanks! It only works if I type the domain name and specify index.html - "domain name"/index.html. Shouldn't it just default to the index file automatically?
Tom Hill
14,232 PointsHi Maureen, You probably need to specify the domain name because you can host multiple domains with their corresponding websites on them
Hope this helps, Tom
Tom Hill
14,232 PointsHang on ... just reread your question - do you mean when you're viewing the domain in you browser, you have to navigate to index.html manually?
Maureen Johnston
9,058 PointsYes! Thanks Tom. I thought it was possibly because I didn't delete the welcome.html file from my folder but I still have to manually add the /index.html to bring up my website in the browser.
Maureen Johnston
9,058 PointsThank you very much Tom. I will try to do that. Appreciate your help.
Tom Hill
14,232 PointsNo problem Maureen :)