[users@httpd] Virtualhost + Appliance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys, what's up....

 I've made some changes in my network yesterday to put an Appliance
 (VPN router, etc.) between the Wan and my Linux box (with Bind,
 apache, postfix, etc.).

 So now my server has only a local network interface and everything
 sent to It is forwarded by the Appliance and vice-versa.

 To make things shorter, everything is working fine, the only problem I
 have is w/ virtualhosts.

 Here's part of the config:
 Appliance wan Interface: 210.210.210.210
 Appliance LAN interface: 192.168.0.17
 server IP: 192.168.0.254
server gateway: 192.168.0.17

 httpd.conf:
 NameVirtualHost 210.210.210.210:80 (i've tried to switch it to the
 server's local IP with no luck)

 <VirtualHost intranet.mydomain.com>
 DocumentRoot /var/www/intranet
 ServerName intranet.mydomain.com
 </VirtualHost>

 other vhosts follow the same model.

 DNS config:
 servername IN A 210.210.210.210
 intranet IN CNAME servername

I'm able to ping normally.

 They're bypassing the vhost directive and going to the apache root
 instead of their own's.

 Any help would be appreciated.

 TYA,
 Ismael

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux