My company is going to do a press release next month. At that exact moment in time, we need a new domain to go to this site at the time of the press release at 3 PM.
Since the domain name already exists, my plan was to have an index.html and index.php in the root directory of the web server. index.html would redirect to our current website and index.php would have the page for our new site (under the separate domain name). My plan was at 2:59 PM I would rename the index.html file so that index.php would be the only index file on the server, and requests going to www.example.com wouldn't redirect anymore but instead stay on the new site.
Is there a more efficient way of ensuring this? This is an Apache 2 server running PHP 5.3 and MySQL 5.5