Skip to main content

Error 404 page not working after setup on cPanel

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! Just to be clear, you're saying that when you visit yourdomain.com you get redirected to the page where you can purchase domains - is that correct? If so, it sounds like there is a DNS issue of some sort. I like using the tool at intoDNS: checks DNS and mail servers health to check the validity of all DNS settings, ensuring there are no red areas or problems.
    0
  • zemenu
    Every page works correctly but if I do something like domain.com/random which doesn't exist, it should have taken me to a cPanel 404 page and not infinityfree's one. I am confused on how to fix it. I have attached what is the problem. Also I ran the website through 78945
    0
  • cPRex Jurassic Moderator
    I wonder if there is still an entry in your local .htaccess file or some other redirect causing this. If you try pulling up the page on the command line with curl -v like this: curl -v yourdomain.com/randompagethatdoesntexist
    does that give you any clues about where the 404 redirect is coming from?
    0
  • zemenu
    I forgot that the file was called .htaccess, I was hoping someone to mention that, that was it that was the source of the problem the whole time. Thank you so much!!!
    0
  • cPRex Jurassic Moderator
    Great - I'm glad that's all it was!
    0

Please sign in to leave a comment.