How do I Point a DOmain to a Sub-Directory?

oSM

Well-Known Member
Aug 18, 2001
47
0
306
Sorry guys,
Just wanted to ask you for another favor.. How do I go about pointing a domain name to a sub-directory or sub-domain?
Also, how would I re-direct mails to the sub-domain or sub-directory?

THANKS! ;)
 

teck

Well-Known Member
Aug 10, 2001
164
0
316
You can just park the domain on top of the subdomain. This can be done in WHM. I\'m not sure if mail will still work though.
 

AlaskanWolf

Well-Known Member
Aug 11, 2001
537
0
316
Fremont CA
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/