Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 30, 2005, 6:41 am
rate this thread
Is there any way to alias a top level domain?
My boss has set me the challenge of being able to type
www.google.local(for example) into a web browser and be taken to
www.google.com. He wants this to be done on-the-fly as it were so all
websites with a .local TLD would work so editing the hosts file is out
of the question. He says its a 5 minute job using a DNS Server but
wont tell me anymore, my brain is melting...
Considering Im a total newby when it comes to this Im completely
stumped, any ideas out there?
I'm not a DNS expert, but I have dabbled a little.
Firstly, do you have access to the DNS server that all your workstations are
using? If the answer is no then forget it (I'm not sure why your boss would
want this anyway).
If you can configure the dns server then what seems to work for me on my
test server, is to create a new forward lookup zone called local and then
add a new cname "google" pointing it to google.com. This then means I can
ping google.local and it gets mapped to google.com. However, this would
still require you to add an entry for each domain that you want mapped, so
it doesn't give you much over going the hosts file route. Whilst it would
allow you to create new mappings as you go, this would still be a manual
process. I don't think you can simply map .local = .com.
Hope this helps somewhat.
- » HOW to solve ... System.Net.WebException: Connection closed
- — Previous thread in » Webmaster Forum