Hi all, WP noob here.
I have set up WP under Apache, on my own machine, which is behind my static IP ADSL router/firewall. I have a registered domain name (lets say www. example.com) which points to the static IP.
The router/firewall port-forwards all the necessary web ports to my computer (the apache server) and blocks everything else.
So when I set the server name as www. example.com under WordPress options, everything works fine PROVIDED you are accessing the site from outside the firewall.
When I try to access the site from my computer though, it tries to access the router admin page because it thinks www. example.com is the router. When the router is accessed from the LAN the portforwarding doesn't happen, and it tries to serve the pages itself using it's web-admin system
On the other hand, I can set the hostname in WP options to localhost, so it then works fine when I access it from my machine, but it doesn't work for WAN clients. The external users links all point to localhost, which is their local machine, wherever they are.
This is more a networking problem than WP, but I think that the problem could be solved if I could tell my machine (and only my machine) that whenever it sees www. example.com to look at localhost (127.0.0.1). The Windows "route" command looks promising, but I'm no expert so I need some advice there.
Can anyone help?