How to forward URL

Status
Not open for further replies.

ranjeet

New Member
Messages
45
Reaction score
0
Points
0
How to forward URL without CNAME change

Say
Code:
www.mail.mysite.com

To

Say
Code:
Google.com

What file html or php with what inside it i place in mail dir on server:dunno:
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
<meta http-equiv="refresh" content="5;url=www.google.com">

content(in seconds) - until redirect
url - link to go to
 

ranjeet

New Member
Messages
45
Reaction score
0
Points
0
Close Done...
I placed .htaccess in required dir....
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mail.mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mail.mydomain.com$
RewriteRule ^/?$ "http\:\/\/www\.google\.com" [R=301,L]
 
Status
Not open for further replies.
Top