I'm extremely new at unix/linux so please bear that in mind in your answer.
I am running an apache server on a Fedora box. I have a static IP and have set up port forwarding through my router/modem - I have opened up port 80, among others, to forward to my Fedora box.
If, from an outside connection, I type my static IP, I successfully get my index page. However, if I try to type my.static.ip/subdirectory this gets instantly replaced with 192.168.2.22/subdirectory (my LAN IP), which of course fails if I'm on an outside connection.
Why is this remapping happening? How can I set up my server such that this remapping doesn't occur when requesting sub-pages/sub-directories from an external connection (while still working correctly if I connect to my local ip from a local LAN connection)?