domain to subdomain pointer

donkeyKICK

Verified User
Joined
Jul 24, 2007
Messages
387
How do I point a domain to a subdomain? Is this possible?

What I want to do is the following:

www.domainB.com ---> www.domainA.com/subdomain
all email to [email protected] goes to user.domainA.com

I can't do a regular redirect because www.domainA.com already has a homepage that isn't wanted by www.domainB.com. Other then the homepage problem, the regular redirect does exactly what I want.
 
Last edited by a moderator:
I removed those hyperlinks for you; all you have to do is delete them when you edit, then click on Go Advanced and uncheck Automatically parse links in text before saving the edit.

While I'm not an html genius, I think you need to set up the second domain as it's own domain (but it must belong to the same user for email (see below), then create a redirect using either index.html or .htaccess to redirect to the second domain.

Though I've never tried it and I'm not responsible if it goes wrong, I think you can make the email work by removing the new domain's email directories in /etc/virtual/ and in /home/, and replace them with symbolic links.

Jeff
 
Back
Top