Berbox

Well-Known Member
Apr 4, 2005
55
0
156
Belgium
Does anybody know a method in Cpanel to forward a domain name domain.com to http://sub.otherdomain.com/
What I want is that we don't have to make an account for domain.com so no htaccess or script
is needed for the redirect.

In WHM you have the option "Setup/Edit Domain Forwarding". Can I use this?

Thanks
 

Berbox

Well-Known Member
Apr 4, 2005
55
0
156
Belgium
How can I?

I found this in the thread http://forums.cpanel.net/showthread.php?t=5602&highlight=Redirection+Map but it didn't worked. Is this possible??
Fastest way to do it is to

1. go to WHM, click on SETUP DOMAIN FORWARDING

it will say

The domain forwarder is currently using the ip address YOUR_IP_HERE. All domain that you want to be forwarded should be pointing at this ip.

2. Add a dns zone for the domain you want forwarded with tie ip above

3. go back to Domain Forwarding and in the redirection map setup

www.www-newdomain.net ---> http://primarydomain.com/directory/

www-newdomain.net ---> http://primarydomain.com/directory/