PDA

View Full Version : Redirection


Funkwarrior
1st September 2009, 11:02
Hi all,
sorry for the noob question, but I don't how to resolve my problem.

One of my customers bought long time ago a domain (domain01.tld) with a company that use plesk.

After that, for the new site launch, my customer bought a bunch of domain with only the dns service included (domain02.tld, domain03.tls, and so on..).

I trying to redirect domain02.tld with a new cname entry (www.domain02.tld -- > www.domain01.tld) but browser redirect me on the default site of the virtual server where domain01.tld is hosted (defaultdomainofVPS.tld), not to domain01.tld.

How I can achieve this? thank you!

falko
2nd September 2009, 14:38
You must add www.domain02.tld as a ServerAlias to the Apache vhost configuration of the www.domain01.tld vhost.

Funkwarrior
2nd September 2009, 16:01
Thank you so much!