.htaccess redirect to external URL while hiding redirect

前端 未结 5 2235
醉梦人生
醉梦人生 2020-12-18 06:56

I want to be able to redirect a domain pointed to my webhosting to an external domain.

For example, I have this in my .htaccess:

RewriteCond %{HTTP:         


        
5条回答
  •  佛祖请我去吃肉
    2020-12-18 07:39

    Maybe you can achieve this by changing the DNS for your domain mydomain.net to link to myexternal.net. Then, you have to use an appropriate .htaccess on your external server.

提交回复
热议问题