Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There's the situation :

Intranet hosted here with intranet_name.domain.com with a private network address 172.x.x.x.

I have to give access to this intranet to an another site. They add a DNS entry corresponding to remote_intranet.other_site_domain.com 10.x.x.x.

In my firewall I do a NAT of 10.x.x.xto 172.x.x.x.

Because of the NATing I presume that my configuration will continue to listen to the 172.x.x.x address.

Does I have to put a new ServerName remote_intranet.other_site_domain.com on my intranet VirtualHost ?

I read about Proxy too.

I don't know Apache very much. Any help will be appreciated.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Just add a line to your virtualhost:

ServerAlias remote_intranet.other_site_domain.com 

and yes, leave the ip and port alone.

share|improve this answer
    
Thanks a lot, that's work very well :) –  Patrick Pellegrino Jul 12 '12 at 17:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.