View Full Version : Redirect Problem
MSbrotherCOM
09-25-2003, 10:18 AM
Can a domaia refirect from http://webmail.domain.com to http://www.domain.com/webmail/ ?
Since http://www.domain.com/webmail/ exist , can this word 'webmail' be redirected ?
Please reply asap , thanks a lot !
DirectAdmin Support
09-26-2003, 12:45 PM
What you can do, is create an index.php file in your .../public_html/webmail directory with the following:
<?
header("Location: /webmail");
?>
John
ProWebUK
09-26-2003, 02:42 PM
hmm.... wouldn't that redirect http://domain.com/index.php to http://domain.com/webmail, or subdomain.com to subdomain/webmail?
what i would do as a simple fix is:
create a subdomain named 'webmail' to make 'webmail.domain.com', upload an index.php file for the subdomain with the following content
<?php
header("Location: http://domain.com/webmail");
?>
Then go to wbemail.domain.com... you should be directed to http://domain.com/webmail :)
Chris
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.