PHP-DI redirection to the correct domain