可以无损保留二级域名跳转,适用于各类ds网 <?php error_reporting(0); $domain = 'baidu.com';//需要跳转的域名 $host = $_SERVER['HTTP_HOST']; $dot1 = strpos($host,'.'); $do