Mobile app version of vmapp.org
Login or Join
Sarah324

: New webserver offering HTML for download, not for browsing I recently purchased a hosting plan from a provider. They gave me temporary url of accessing the hosting space, controlpanel, ftp details.

@Sarah324

Posted in: #WebHosting

I recently purchased a hosting plan from a provider.
They gave me temporary url of accessing the hosting space, controlpanel, ftp details.

Now when I deleted all the files from public_html and put up a index.html, then on clicking on the temporary url,everytime a files gets downloaded (with download name).
What can be the issue?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sarah324

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murray155

Your mime type is wrong on either host or the client. Probably the host. Change the *.htacess to include

AddType text/html *.html *.htm


Many subpar/budget hosts will have some kind of mime type control in their website control panels. Try to find it. It is usually associated with Apache.

10% popularity Vote Up Vote Down


 

@Margaret670

This is the kind of question who should be dealt with service support from the hosting company. A possibility is that you have deleted .htaccess, but there are too many unknown variables...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme