Website goes to index.html instead of WordPress

69 views
asked Dec 4, 2013 in Website Builder by SunFun (3,000 points)
Hi all
I have recently  set up ispconfig 3 with my  apache. Instead of my site directing to wordpress it goes to index.html. so If I use http://www.mydomain.com, I get redirected to var/abc/www.mydomain.com/web/folder/index.html . It doesn’t go to the pages that I setup in my WordPress . what is causing this? And how do I fix it?
Please help
Many thanks

2 Answers

0 like 0 dislike
answered Dec 4, 2013 by expert (14,380 points)
Try deleting  the file index.html in your hosting account. (Make sure you make a backup of it before you delete it).  Apache gives order to default files and the index.html is in a higher order than  index.php so it is served for default pages.
0 like 0 dislike
answered Dec 4, 2013 by WebProX (12,200 points)
Looks like the priority for index.html is  higher than the  priority for index.php.
You can rename the index.html to something like indexold.html. This will make apache look for the index.php and use it instead
...