Okay, what am I suposed to do now?

okay, I made a folder instead. But it’s empty - is that how it’s supposed to be?
Also- now what do I do?

Every domain is assigned to a particular directory on your hosting account. The first domain of the account gets assigned to the folder called htdocs. That’s the folder the server will check when trying to load the files for your website. If that folder is deleted, the server can’t find anything to load and will respond with a 404 Not Found error.

To fix this, simply create a new folder with the name htdocs and upload your website files to that folder. You should also remove all the other files you uploaded to the base folder of your account - you can’t use them on your website so they waste disk space and inodes for no purpose.

6 Likes

what is the name of my link to see my uploaded files?
http://nihulit.epizy.com/ gets me to error 404

even after I saved the files in my new htdocs folder!

Okay, I managed to get in.
This is what I see:


How do I see my files? It’s supposed to be an electronic catalog but I can’t see it!

You somehow broke your hosting account. I think the quickest way for you to fix it is to open the Control Panel and remove your domain(s) and back up any databases you have. Then, from the Client Area, deactivate your account and then create a new one. Be sure to only upload the files to their respective htdocs folder. Do not delete anything if you didn’t put it there. The. You can restore your backup in phpMyAdmin. This guide may help you along the way:

4 Likes

what makes you say that? the picture i sent is not what I’m supposed to see when I click on my link?

Great, it’s working now. Congratulations. As you can see when you type your domain:
You get inside /htdocs.
Here you are seeing a folder nihulit. No problem here. Completely normal. Now what you should do is:

  1. Go to htdocs.
  2. Inside it directly paste all files, no folder. Your homepage like index.php should go here.
    Basically no extra folder, just files that should be opened.
  3. When you enter your domain again, you will see the homepage like index.php or index.html whatever on example.com

Problem solved!

1 Like

To further add, elaborate @nihulit20
This is the server working as a file manager, it is programmed to show index.php file but since there isn’t any in your htdocs (at root level). It os showing the folder you’ve uploaded.
Screenshot_20221123_180900
Also I’ve visited the whole site, where is the starting file?
http://nihulit.epizy.com/nihulit%20-/files/assets/ nope
http://nihulit.epizy.com/nihulit%20-/files/html/static/ nope
I can’t find any. Look like its built in some js framework.

This is what I see


You don’t seem to have a index file.

5 Likes

I opened a new domain but I still dont see anything.
The site link works fine but its empty or something…


this is what htdocs lokks like, so I think it’s fine, am I right?

http://nihulitbest.great-site.net/ just shows up empty, what’s up?

1 Like

No issue

image

Clear your browser cache?

3 Likes

Yes, I see it now. Maybe I had to wait a while.
Ok, things are moving along, thanks everyone.
I tried uploading a digital catalog but all I see is the graphics symbol?
Now I think my problem is that my files (uploaded to htdocs) are all 4 KB.
But my original files are larger than that.
Am I only allowed to upload files up to 4 KB?

?
does anyone know?

The file limit is 10MB.

5 Likes

10 mb or 10 kb?

every file I have is under 10 kb but over 4 kb.
Even so - all my files uploaded only up to 4 kb.
What’s up?

The file limit is 1MB for HTML and PHP files, 10KB for .htaccess and 10MB for everything else.
If any files you upload are removed, please refer to this article:

6 Likes

okay, my folder is 30 mb. does that mean game over?
or does anyone have any tricks for me?
does anyone know of another free site I can try using instead?

No. Use an ftp client like FileZilla to upload it.
To further clarify:
html and php files/scripts have max size of 1mb.
photos, videos, apps, have max size of 10mb.

A folder is not a file. It is not an app. A .zip is a file, if it’s 30mb, you can not upload it.

If it is a folder, use ftp to upload. ftp is not necessary you can do it from the web too. ftp just makes it cleaner and easier.

Game is not over.

Not sure if you can find one with as many resources as Infinityfree but here:
https://google.com/search?q=free+php+hosting

2 Likes