Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
3  
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... –  Osvaldo Dec 3 '11 at 9:47
    
I would put that as the answer @Osvaldo –  Toby Dec 3 '11 at 13:28
    
I believe you should contact your provider about your issue. Good luck. :) –  Mark Shawn Dec 5 '11 at 3:37

2 Answers 2

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...

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.