PDA

View Full Version : [ubuntu] 2 domains with different TLDs sites-enabled



idalin
September 20th, 2010, 06:32 PM
I am running an apache on Ubuntu.

I am running Virtual Hosts by creating conf-files in the sites-enabled directory and naming them:

domainname.tld

Now I have this problem.

I have a customer who has the same domain name with different tld's

hisdomain.dk
hisdomain.eu

And the sites are different.

I have a hisdomain.conf

But that means that both domains go to the dk-site :(

What do I do?

perspectoff
September 20th, 2010, 07:17 PM
I'm not sure I understand your exact question, but check out:

http://ubuntuguide.org/wiki/Apache2_reverse_proxies

or

http://kubuntuguide.org/Apache2_reverse_proxies

and see if this is what you want to do.

Bachstelze
September 20th, 2010, 08:06 PM
If you name the files domain.tld, why do you have a domain.conf? You should have two files, domain.dk and domain.eu.