Update index.php to update CRAFT_ENVIRONMENT and test against SERVER_NAME