troubleshooting Question

How do I point a specifc IP address and Port to an Apache document root folder?

Avatar of EddieGomez
EddieGomez asked on
Apache Web Server
2 Comments1 Solution274 ViewsLast Modified:
We have a new server which we want to use to host our website.  This server has two NIC ports.  One port will be used for our internal (LAN) network and the other port will be used for the external world.  Both addresses will be internal NAT (ex. & .2)  We will configure our firewall to forward all external requests to a specific port (ex. 89) on

Is there a way to specifically state in Apache that any http traffic coming from NIC will point to htdocs/XYZ?   We may have multiple folders in the document root but any port 89 traffic from just that one specific IP address (NIC Port) will point to folder XYZ.

Any assistance would be greatly appreciated!

Thanks in advance.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros