404 Not Found error on meraytstatus.in after proper setup

Hello InfinityFree Support Team,

I am facing a “404 Not Found” error on my website meraytstatus.in despite having correctly set up everything on my end. I have tried all possible troubleshooting steps, but the issue persists.

Here are the details and steps I have taken:

  1. Domain and Hosting Setup:

    • I have a domain meraytstatus.in purchased from Hostinger.
    • My nameservers are correctly pointing to ns1.infinityfree.com and ns2.infinityfree.com.
    • DNS propagation has successfully completed globally, as confirmed by whatsmydns.net.
    • Screenshot attached: whatsmydns.net NS check
    • My InfinityFree account username is if0_39001223.
    • Screenshot attached: InfinityFree Client Area
  2. File Upload and Location:

    • I have uploaded my website files (index.html, style.css, script.js) directly into the htdocs folder of my hosting account using the File Manager.
    • The index.html file name uses lowercase ‘i’ and ‘h’.
    • Screenshot attached: Contents of htdocs folder
  3. .htaccess File Configuration:

    • I have created a .htaccess file directly inside the htdocs folder.
    • The content of the .htaccess file is exactly this:
      DirectoryIndex index.html index.php
      Options -Indexes
      
    • Screenshot attached: .htaccess file visible in htdocs
    • Screenshot attached: Content of the .htaccess file
  4. Troubleshooting Performed:

    • I have cleared my web browser’s cache (including “All time” for cached images and files).
    • I have tried accessing meraytstatus.in in an Incognito/Private window.
    • Despite all these steps, the website still displays a “404 Not Found” error.
    • Screenshot attached: Screenshot of 404 error

Given that all client-side configurations (DNS, file placement, .htaccess, cache) appear to be correct, I suspect there might be a server-side issue or a specific configuration required on your end for my domain to properly load from the htdocs directory.

Could you please investigate my account (if0_39001223) and check the server logs or any relevant configurations for meraytstatus.in?

Thank you for your time and assistance.




Did you check this article already?

Also, the Directory Status card in the client area can point out some obvious issues. And for your domain name, it really does that:

It shows that the directory of the domain is meraytstatus.in/htdocs, and that this directory does not exist.

You can click the Recreate Directory button to create the directory, and then you should upload your website files to that directory.

5 Likes

Hello, and Welcome to the InfinityFree Forum!

For your domain to display content, you need to place the contents into the domain’s htdocs folder.

Based on the screenshots provided, you placed some files in meraytstatus.in and in htdocs, not in meraytstatus.in/htdocs. In order to display the contents of your site, it must be in such folder.

To re-create the directory, click on the Recreate Directory button in the Client Area, then in the File Manager or over FTP, move all website files to the directory.

Hello Admin,

Thank you for pointing me to the Directory Status card. I found it now, and it indeed shows “The directory of this website is missing!” and a red X for “Directory Exists” for meraytstatus.in/htdocs.

As suggested by the card, I clicked on the “Recreate Directory” button, hoping to fix the missing directory issue. However, after clicking it, I received a new error message:

“Could not establish FTP connection to create directory!”

This new error prevents the directory from being recreated.

  • Screenshot attached: Screenshot 2025-05-22 111919.png (showing the “Could not establish FTP connection” error)

My files (index.html, style.css, script.js, .htaccess) are currently present in what appears to be the htdocs folder via the File Manager. DNS is also correctly propagated to ns1.infinityfree.com and ns2.infinityfree.com.

It seems this “FTP connection” error is preventing the server from correctly linking or creating the htdocs directory for my domain. Could you please investigate this server-side connection issue from your end?

Thank you for your continued support.

just click on recreate directory button if needed

I just tested the button again, and it’s working now. I don’t know why it didn’t work before, maybe a temporary glitch?

5 Likes

Hello Admin,

Thank you for your previous assistance.

I have found the “CHMOD” option in the File Manager to change file permissions, as you suggested. However, when I click on “CHMOD” for index.html (or any other file), no popup window appears to allow me to set the permissions.

I have tried:

  • Accessing File Manager in an Incognito browser window.
  • Checking for popup blockers in my browser (and confirmed none are blocking the site).
  • Trying a different web browser.

Despite these attempts, I am unable to access the CHMOD dialog box to set the file permissions to 644.

Could you please assist further, or perhaps check if there’s an issue with the File Manager interface itself on your end? The “No index file found” error still persists.

Thank you for your help.

Then there is a misunderstanding. The issue you’re having is not a CHMOD issue.

In fact, the CHMOD option is disabled because it never solves anything. In the almost 10 years I’ve used this platform, I have not seen a single case of an issue where chmod would solve it, but numerous cases where incorrect uses of chmod caused problems. So the option is disabled now.


As for the real reason your website doesn’t work, the Directory Status card gives a pretty clear clue:

When I then check the directory in the file manager, I see this:

In other words, your website doesn’t work because your website was uploaded to the wrong location, and the location that you should be using doesn’t have any content.

Once again, to setup your website, please upload your website to the directory meraytstatus.in/htdocs. If you upload it anywhere else, it will not work.

7 Likes

A post was split to a new topic: 404 Not Found

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.