I have an apache server running on one of my local computers (as in, on my LAN, behind a NAT router. I have portforwarding and all configured, and it works great for access both locally and over the internet. There's only one problem. With a servername of "lancomp", going to
http://webdomain.com redirects to
http://lancomp/ (adding the trailing slash). Reversing things breaks it from the LAN side. What is the reccomended practice for setting ServerName in this case? Or perhaps I should set it up for vhosts and add a ServerAlias for each name?
All thoughts are welcomed, of course. Thanks for reading this.