[MODERATOR’S NOTE: Subject edited for clarity]
I have a OpenSUSE LAMP server setup locally with MODx and Zen Cart on it. It’s only for testing purposes so I can become familiar with things. It all works great internally, but I want a friend/co-worker to be able to check out what I’m doing from another location. I think I know the problem, but I can’t seem to figure out where/how to fix it.
MY PROBLEM:
My directory tree is ../srv/www/htdocs/*modx files and Zen folders are here
From outside the office I can type MY.WAN.IP and get to modx no problem. Then I can type MY.WAN.IP/store and get to my zen store no problem. then if i try MY.WAN.IP/store/admin it tries to redirect to a LAN IP, rendering an error.
I saw in my server configuration page that my Apache HTTP_HOST and my PHP Variables, _SERVER["SERVER_NAME"] and _SERVER["SERVER_ADDR"], are all set to my LAN IP. I’m guessing this is at least part of my problem, but I know how to fix it. I’m not the greatest at setting this all up which is why I’m doing it, to get familiar. If you can advise me I would appreciate it. Thanks.
Oh, and I wasn’t really sure what to search for to find my answer, but I did find this (may not have anything to do with my problem)
http://modxcms.com/forums/index.php?topic=17923.0;wap2
HAPPY TURKEY DAY