Redirect from app.php when we are on static domain