General Discussion

jun cheng wong
jun cheng wong
10,741 Points

I get error 404 when I try to key in the url

my username is juncheng712. i typed juncheng712.github.io and i get error 404

3 Answers

Brandon White
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Brandon White
Treehouse Moderator

Hi jun cheng wong,

404 means that the server could not locate the file you requested.

In this case, you've not actually requested the file you're wanting from the correct servers (which are githubs). Try the following url:

https://github.com/juncheng712/juncheng712.github.io

Mel Rumsey
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Mel Rumsey
Treehouse Staff

Hey jun cheng wong, It looks like you are trying to view your github webpage. The issue is that it is trying to find an index.html file but there isn't one. When I look at the repo it looks like you have it named bestCityGuideIndex.html. Try renaming that file to index.html, save, commit and push it back up to github. That should fix the issue after a couple of minutes! Hope this helps :)

jun cheng wong
jun cheng wong
10,741 Points

thanks Mel, I was so frustrating because I can't find a solution. Fortunately, you have pointed out my problem