I have created a repository in my GitHub account and followed the instruction found here. However the problem is that the HTML files in my repository are placed within a subfolder.
So the current scheme is https://UserName.GitHub.io/Repository and under Repository I have another folder called site and under this directory I have got the index.html file.
I did try going by the solution found here by creating an index.html file in the repository that redirects to the site directory.
The content of which is:
<meta http-equiv="refresh" content="0; url=https://UserName.github.io/Repository/site" />
Now when I try the url https://UserName.GitHub.io/Respository I get redirected to https://UserName.GitHub.io/Repository/site but I am still getting the 404 Page not found error.