I'm developing websites that are primarily used on a local intranet, but i want to be sure that if someone vpn's into the network that all of my links still work.
For example i have a directory page that has links with the format http://<server name>/<application name> and this works fine for anyone already on our local net, but if i want to connect through a vpn connection the address becomes http://<server name>.<domain name>.com/<application name>. So the previous links on the directory page will not work.
Is it just best practice to include the domain name? Or is there a way to dynamically make the links compliant with how the user is accessing the site?
~S_M




Reply With Quote