There is a hierarchy of which index.* page will be displayed. In this hierarchy (defined by the server), .html .htm pages are served before .php . So, when a visitor hits your domain, they are being served index.html . Rename or delete index.htm(l?) leaving only index.php and it will be served.