If you are a developer its very common problem getting 404 error while hosting change or any back end process.
But if you are a fresher in web development, it will be tough to find out the reason for this error. May be u cant find any error, but u spending hours and days to fix this small issue – HOW IRRITATING !!!
Basically two types of error will cause this