New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Redirect Webmail

Started by milerfreitas, August 31, 2017, 03:53:53 PM

Previous topic - Next topic

milerfreitas

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!

studio4host

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.
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.