hi i have made a new test website but there is a problem with the hosting !
here is the domainlink : https://webbymicla.22web.org
Also i have a problem to upload a video file to the htdocs of the website, when i try to upload it fail to save it in the htdocs of the website … its a mp4 file !
here is the problem :
Here is the article for the first problem:
While working on your website, you may be redirected to the
InfinityFree 404 error page. This article explains why this typically happens and what you can do to fix this.
Why do I get a 404 error
When you try to access a file on a website, the server tries to find the matching file to load. By default, it works like this.
Suppose you have a website http://example.com which is linked to the folder htdocs in your hosting account. If you then try to load a certain URL, like http://example.com/bl…
(this same solution can also be applied to the generic 404 error page)
And here’s the article that explains the file size limit, what you’re experiencing when you upload your video:
Sometimes, when you upload a file, the upload is completed but the file is deleted immediately afterwards. This is usually caused by one of the following issues:
The file is not in a htdocs folder
All websites files must be uploaded to either the main htdocs folder, or to the domain specific htdocs folder (like example.com/htdocs).
You cannot upload files to other directories on your account. If you try to create or upload files anywhere else, they will be deleted automatically.
The file ty…
So for the first problem try to create the
htdocs folder or the
webbymicla.22web.org/htdocs folder through the File Manager or your FTP client. For the second problem, if you want to upload a video, either compress it or use a file/video sharing service and link to the direct file hosted by them.
Obviously Linux servers are case-sensitive, so for that website to work the following folder name must be all lower-case:
okey i understand … i delete the file
WebbyMiCla.22.org cause of the uppercase problems …
how can i fix now further the webite?
Now create a folder named
EXACTLY AS IT IS WRITTEN HERE, then get inside that and create another folder named
Now get inside the folder and create another folder named
Now go inside the htdocs folder and create a file named
index.html and put
test in it. Of course you can upload your files in it instead.
thanks but i upload all files again and also i use another videofile from youtube for the background video !
its working now perfect!
in code when you have a space in the name
then always use
In all html documents it’s always a good idea to use lower case for all your links and file names. I usually leave out spaces too.
<a href=“File Name.html”
You will save yourself a lot of headaches by using this standard.
Everyone have their own favourite lol, I prefer
here-are-some-word for my files, HTML classes and ids, and
here_are_some_word for functions.
There was no need to reply to me for what you were gonna say, but it’s OK!
Sorry I wasn’t directing it towards you. I just saw your comment and wanted to add some stuff I learned the hard way over the years.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.