Cannot access hosted html files

Hi All,
I uploaded two files to my server: text.txt and index.html.
The first can be accessed publicly using http://brucknerhoelle.epizy.com/text.txt but if I hit the html file, I get redirected to a 404 page (http://brucknerhoelle.epizy.com/index.html)
Is there any Apache config I have to overwrite in the htdocs folder?
Thank you for your answers.
Daniel

Both links is redirecting to 404, are you sure that you’ve uploaded files right? In the right folder? Check if it’s still there.

Typo, my bad.
http://brucknerhoelle.epizy.com/test.txt

Find a screenshot of the directory on the server here (also accessible)

@dstrasse said:
Typo, my bad.
http://brucknerhoelle.epizy.com/test.txt

The problem is that your main site tries to load an index.html file from: http://www.brucknerhoelle.de, which returns a 404 error (I assume that there is no index file uploaded on it) and that is why you get 404.

You must remove this line (line 120):
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=www.brucknerhoelle.de/brucknerhoelle/index.html">

If you want it to work, or upload an index.html file at that domain so that it works.

1 Like

File is called index.htm, not html btw…

@MrJunior said:
File is called index.htm, not html btw…

Are you sure?
He is using both index.htm and index.html files

He is using .htaccess to remove file type from /brucknerhoelle/ that’s why there is no index.html

@ChrisPAR is correct he put a redirect page to a url which is not available.

@MAHOfficial yes I was sure because index.html worked fine before, now it’s all broken, and i know the reason.

@dstrasse remove .htaccess and never touch this until you know what you doing, your redirect to www is not okay.

@ChrisPAR said:

@dstrasse said:
Typo, my bad.
http://brucknerhoelle.epizy.com/test.txt

The problem is that your main site tries to load an index.html file from: http://www.brucknerhoelle.de, which returns a 404 error (I assume that there is no index file uploaded on it) and that is why you get 404.

You must remove this line (line 120):
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=www.brucknerhoelle.de/brucknerhoelle/index.html">

If you want it to work, or upload an index.html file at that domain so that it works.

This right here is the right answer. The page at http://brucknerhoelle.epizy.com/index.html is loaded correctly, but that HTML tag redirects you to http://brucknerhoelle.epizy.com/www.brucknerhoelle.de/brucknerhoelle/index.html which, obviously, does not exist.

Also, HTTrack is an offline browser, not a website builder. Cloning and publishing a website from someone else is theft, which is illegal.

OMG. I spidered a website that I want to host here. I sould’ve started with a very simple HTML example to test everything. Wasn’t aware of the meta data in there…
Thank you so much for looking into this!