在httpd.conf文件找到域名对应设置,添加301代码到下方即可。
ServerName domain.com
Redirect 301 / http://其他域名/实际示例
ServerName 172.16.2.xxx
Listen 8080Redirect 3[......]在httpd.conf文件找到域名对应设置,添加301代码到下方即可。
ServerName domain.com
Redirect 301 / http://其他域名/实际示例
ServerName 172.16.2.xxx
Listen 8080Redirect 3[......]