View Full Version : mydomain.com don't use my index.php
tunks
2012-11-25, 11:38 AM
Hello,
i have a problem.
My site don't use my index.php everytime i go to the website there stands:" This is your temporary index.html file. Replace this with your own index.html file. "
How can i change this ?
sgoodman
2012-11-25, 09:35 PM
I think the Apache DirectoryIndex (http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex) directive needs to be changed.
Shane.
suwunk
2012-11-26, 07:48 AM
Just to clarify, please tell me if you host your site on myhosting.com or mydomain.com?. If you require any assistance with your account on myhosting.com, Please contact Customer Support team by Phone, Email or Chat!
Contact Us | myhosting.com (http://myhosting.com/contact/)
Cheers
jeremya
2012-11-26, 08:54 AM
Hello,
i have a problem.
My site don't use my index.php everytime i go to the website there stands:" This is your temporary index.html file. Replace this with your own index.html file. "
How can i change this ?
Shane is correct, basically you just need to adjust the order that your webspace will look for root folder files. Actually, if you're using shared hosting with myhosting.com I believe you can simply remove (or rename) the index.html file that is stored in that same directory and it should look for the index.php at that point. If it still does not work, you might not be placing your files in the right folder for your webspace.
Depending on whether you're using myhosting.com shared hosting or VPS with a control panel or other changes the specifics on how you can accomplish this so let us know if you're still having trouble!