Hey All-

Can anyone point me in the right direction regarding how to setup a DNS entry to point to an intranet site using only a one-word address?

I have a W2K8-R2 domain network setup, with a Microsoft DNS server running on the network.

I would like to be able to type in http://home and have it resolve to http://domainComputer1/home. I tried to setup a CNAME and pointed it to the FQDN of the domain computer. This did not work.

Separately, I setup an A record for camera, which points to the IP address of our video camera server. When you type camera into a web browser and hit enter, sometimes you are forwarded to the proper location (internal IP address) while other times you are sent to a search engine result page. (I'd also like to figure out why these results vary so much)

Any help would be appreciated!

--Thanks
Joe

Hello Joe- let's start with the first issue. DNS can of map a host name to a URL. Creating Ruth's host record or cname record that points to the web server is correct. Then, on the web server, you can make the web sites home directory map to that home folder or alternativly create a redirect. Also keep in mind that DNS is all about fully qualified host names. So while you may type a single label name in the address bar, your computer's OS will append the DNS suffix that's configured to try to resolve that unqualified name.

For the second, its likely to the DNS suffix situation I mentioned.

You could do this with a local HOSTS file or LMHOSTS file running on the client machine. That would certainly work with the name style you want. BIG downside is that you need to maintain it on each PC or use an include to pull in the file from a central server.

Creating Ruth's host record...

I'm on a mobile. Ruth's is an autocomplete. Sorry a out that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.