Control Web Panel
WebPanel => E-Mail => Topic started by: milerfreitas on August 31, 2017, 03:53:53 PM
-
Hello!
I need to redirect a specific domain to another page. I need that when accessing only-this-domain.com/webmail it go to another page any. Does anyone know how to do ??
Thank you!
-
by using htaccess, you can create webmail folder and add into it file .htaccess with the following content
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
don't forget to replace this domains, RewriteRule is destination.