Umm so I don’t know why I’m getting this error, my site got deployed and it even loads but if I try to load it by the routes then it shows me that “page not found” error.
For example these are some of the routes my site has
TTL values (time to live values) in the previous, not the new, DNS records are often the root cause for delays in changes to DNS. There is more about this behavior (which true for all DNS - not just sites or DNS at Netlify) here:
If there are other questions about this, please let us know.
I am also having a similar problem of not being able to publish my website on github.
I deployed the code and in my page, it says the site is published. I also downloaded my deploy log and the root file contains index.html. But I still cannot access the domain of my website ~github.io/. Could anyone please help me in solving this issue?
All issues: Provide your Netlify site name (e.g. gifted-antelope-58b104.netlify.app).
DNS or SSL issues: Tell us your custom domain(s) (e.g. mycustomdomain.com), and how long it has been since you made changes to your DNS (DNS changes can take up to 48 hours). We can’t help if we don’t know your domain.
Build issues: Tell us about your workflow, including what SSG you are using.
If you are deploying via git, give us the URL of the repository.
Let us know what you have already tried and what the results were.
@jooy Sorry, but I don’t have the patience to troubleshoot an issue with Github Pages. There are many reasons why I use Netlify instead of Github Pages. If your site is loading on Netlify, I recommend turning off Github Pages for this site, which solves this problem.
Thank you for the advice. I unpublished the github pages for the repository, redeployed it via Netlify but somehow I still see the same URL ~github.io on my main site overview page. And still it shows 404 error. Do you have any idea how I can fix this problem?
I quite didn’t know how to move it to other repository, so I just deleted the current one and reforked it. And didn’t made it into gh-page but instead linked the repo right away with netlify. Now it works! thanks!
sorry for the confusion! I didn’t realize the old link was still here in the community. Even after I unpublished the repo, it kept linking me to ~github.io, so I just deleted the repo, reforked it, made new repository and linked it right away to netlify without creating a gh-page. And now it works, thanks for your advice pointing out the gh-page & netlify crashing!
But if I git pull and push changed code to the github repo (which is not gh-page but directly linked to netlify), would the changes well updated on to the published webpage?
Hi,
I am trying to deploy my site to laughing-haibt-2bc0ac.netlify.app
Deploy is “Published” (like on the screen from OP)
The site is built using a single HTML-file from my Github (50MB of size, isn’t it a problem?)
However, I still see “Page not found”
Your page is loading, but there’s something wrong with your code because it’s not showing anything. It’s also taking forever, which may or may not be related.
WARNING: This file appears to be toxic. I’ve tried opening it in three different text editors and it crashed each of them. My text editors virtually never crash. Be very careful examining the source code of this site.
i didn’t try opening it like gregraven did, but i also see a blank page (not page not found).
@lifegivesyoulemons, does this run locally? a 50MB file is a bad idea on our servers anyway - they are really optimized to serve the small assets generally used by static sites.