Uploading index.html is not working with online file manager

I just registered a domain today, and set up an account here for free hosting.
I am using on a linux system using firefox as a browser.
I tried uploading my index.html file with the online file manager. It said it uploaded ok, but it doesn’t show anywhere. My index.html file is 1.3 mb. Domain is: graffiti.blog

I’ve attached a screenshot.

There is a limit for HTML/PHP files too, it is of 1MB. So you need to minify it before you can use it on this hosting.

it says this as maximum file size when using the online file manager;

The maximum size of one file is restricted by net2ftp to 9.54 MB and by PHP to 2 MB

…So what i’m uploading should work, but is not.

I tried the other file manager also

Only for some files it is restricted to 10 MB, but HTML/PHP files are restricted to 1 MB. And I’m saying the file size limit of these, not the upload limit. So please minify the code by using an HTML minifier like this one, or upgrade to premium hosting as there are no limits for uploading files.

omg 1 megabyte is nothing. My index.html file is 60 words long, barely a paragraph.
I think 1 mb is far too restrictive and small

thanks for the tip re: minify i’ve tried it but it created a document that is 200 pages long
???

It will not be 200 pages long. Use Notepad++ to edit HTML files and code them in UTF-8 without BOM. You can download it from here. Install this installer, then open it, minify the precedent HTML file, copy the minified code, paste it on Notepad++, use Ctrl and S to save the file and save it as an HTML file with the name of index.html.
EDIT: Oops, I did forget you have Ubuntu. Open a Terminal and type these commands to install Notepadqq. Reboot the system after done so! And don’t follow the steps of Notepad++, these are only for Windows users!
sudo apt install snapd snap
sudo snap install notepadqq
Then minify your code, copy it, paste it on Notepadqq when opened, save the file using the same shortcuts as before and the same name as I written always before.

ahh thank you so much for that info!! :smiley:

I got the index page to upload finally! The problem:
I was using a background image file that was almost 1 mb in size. So i simply downloaded a smaller background image file :smiley: and…voila!

1 MB for a HTML file is a lot. I just created a 60 word HTML file, and it was only 4 KB.

If you want to have an image on your page, maybe you could upload the image as a separate file and then use CSS to set the external image as the background? Images can be up to 10 MB in size. And because images don’t change so often, they can be cached so your website uses less bandwidth and becomes faster.

1 Like

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