server transfer

If you server website address is changed from www.A.com to www.B.com I4(D3N~  
If user still go to A, how to re-direct user's Browser to B. Q&T.~+eP  
%�DL"C8[ e  
here is the solution for Apache server: I%r(s kW  
R7KNK'?  
go to Apache httpd.conf file, mS0$7s  
$gUkU l*  
<VirtualHost 209.233.38.3> :�E {6_  
Servername www.A.com RQjgcSp_  
ServerAlias * N^PEGHm:  
Redirect permanent / http://www.B.com/ A2a5W=/  
</VirtualHost> ! C]V>/?  
+N>:QD5z  
Be sure to use / at the end of the redirect directive. Nr$e/0F;h  
"serverAlias *" also solve any alias following www.A.com/* 2Fys2ty{j   
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章