I have a site currently live on a domain. I would like to switch it to a new site, that is currently in a password protected sub directory on this server.
I have a "Site Maintenance in Progress" page. I want to set Apache so it displays that by default instead of "index.php". Also, I d like everything else on the server to be password protected while I make the switch (although that s not essential, I guess).
I added this to the .htaccess
file in public_html
:
DirectoryIndex siteDown.php
Unfortunately, this doesn t do anything. I can navigate to http://www.example.com/siteDown.php
just fine.
I m on a shared hosting setup. Could that be a problem?