Author Topic: Redirect Webmail  (Read 300 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Redirect Webmail
« 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!

Offline
*
Re: Redirect Webmail
« Reply #1 on: September 04, 2017, 09:48:59 AM »
by using htaccess, you can create webmail folder and add into it file .htaccess with the following content

Code: [Select]
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.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.