Mandrake 9.2, hosting web page behind router on dynamic ip
Hi, not sure where to start with this... I have an ADSL Router with a dynamic IP address. Behind it sits the LAN. On the LAN I have one server from which I would like to serve web pages. I have configured NAT on the router to forward port 80 to the internal server address. I have also registered a domain name from no-ip.com and running their program on the server to update their DNS with my new IP address. I can now connect to my web server from the Internet by using the domain name.
The problem that I am having is that I have also configured Apache to serve pages from each user's directory, and when somebody tries to access ie: mydomain.com/~user the page is served but the address bar in the browser changes to 127.0.0.1/~user . Is it possible to configure the server somehow so that both the computer and Apache know they are on a domain (ie mydomain.com), so that the address bar in browsers always displays mydomain.com/blah/blah.