What would be the easiest way (and least "visible" to end-users) to make an arbitrary url route to an internally hosted page.
Example: Users opens browser of choice and types "orders" in the url bar, excluding quotes. How would I make that route to a webserver on the same network (all behind a single router)?
Would this involve making a local DNS server?
Thanks!
DHCP already supplies computers with your local domain, which is already automatically used for domain name queries by your network stack.
For example if you connect to the
foo.edu
network, and there is a server namedexample
, then typingexample
in the URL bar would go toexample.foo.edu
. This should already work on for all computers.Thus you'd need to ask the web administrator of
foo.edu
(in this example) to create the appropriate domain name (CNAME) record via whatever interface he or she uses to add a new server to the network, and point it at your server.This seems like a bad idea though, since it would require changing your network geography whenever you want to implement (or change the name of) what is nothing more than a webpage! This is what URLs are for (though clicking on a link on the page would take you to
orders/mylink
). If you already have various servers under appropriately-named second-level domain names, then I might consider this. However if you are thinking of making many of these things, you just want a simple website.I described how to do so assuming there was a sysadmin in charge. (I would recommend your company hire a sysadmin if the boss feels they've moved beyond the level of Google Docs.)
Anyway, below is how I would do it with minimal experience and insufficient research; if my job or people's information was on the line I'd want to make sure it's reasonable and secure; don't blame me if there's an issue =).
Method #1:
internal.company.com
point to192.168.....
; it may not have this feature.Method #2:
Method #3:
bind
(or the equivalent Windows GUI machinations) so that every computer on the network knows thatinternal.mycompany.com
points to192.168...
. New computers will not know this address exists until it is done, and is hackish and requires maintenance.http://192.168....
)Method #4:
internal.mycompany.com
to [192.168...
]. WARNING: This seems hackish and I have no idea if this will work, or the implications of it.internal.mycompany.com
exists and the internal network address you use to refer to it. This may or may not be relevant depending on whether you feel security by obscurity is a valid tactic.)Security considerations for all of these: