Automatically adding www

  • Thread starter Thread starter MSG
  • Start date Start date
M

MSG

This has got to be a simple answer. I would like to automatically add
"www" to the url if someone only types the domain name in a
browser.
For example if I open IE and delete the url then just type google.com,
it will automatically goto http://www.google.com. But if I type
mydomain.com it will goto http://mydomain.com. How do I automatically
add the www? Can't find this answer anywhere, I imagine it's a DNS
issue but I'm not sure. Any help would be appreciated!!!!!!!!

Thanks
 
MSG said:
This has got to be a simple answer. I would like to automatically add
"www" to the url if someone only types the domain name in a
browser.
For example if I open IE and delete the url then just type google.com,
it will automatically goto http://www.google.com. But if I type
mydomain.com it will goto http://mydomain.com. How do I automatically
add the www? Can't find this answer anywhere, I imagine it's a DNS
issue but I'm not sure. Any help would be appreciated!!!!!!!!

The browser itself will do this by typing mydomain (without the .com) then
Ctrl+Enter. This may be difficult to get users to do this it requires a
total change of habit, not easy for old dogs like me.

If I'm making my guess right, you deployed Active Directory with the name
mydomain.com?
Since the record for mydomain.com must resolve to Domain Controllers in an
Active Directory environment there is another work around. On each domain
controller create a website for mydomain.com, then on the properties sheet
of that web site select the Home Directory tab, select the box "A
redirection to a URL" then enter http://www.mydomain.com in the URL field.
This site must be on each domain controller in the domain and must listen on
at least the IP address for the internal interface. Usually all IP addresses
will work just fine if you use a host header, the host header must be
mydomain.com only if you use one. Other wise if you host other intranet
sites on the DCs, they all may be redirected.
 
In
Kevin D. Goodknecht Sr. said:
The browser itself will do this by typing mydomain (without the .com)
then Ctrl+Enter. This may be difficult to get users to do this it
requires a total change of habit, not easy for old dogs like me.

Just a note, and I'm sure you just forgot to mention this, it only works
with the .com TLD.

Ace
 
Ace Fekay [MVP]
In

Just a note, and I'm sure you just forgot to mention this, it only
works with the .com TLD.

Yes, I forgot to mention that, there is are exceptions to this, localized
versions of IE will use the ccTLD for the localized version.
There is a hot fix for the Swedish version that appends the wrong suffix.
http://support.microsoft.com/kb/331485/en-us
 
I'm refering to an external site where the DNS records are hosted
externally.

Thanks,

Marc
 
MSG said:
I'm refering to an external site where the DNS records are hosted
externally.

DNS won't do this, it will only return the IP of the name entered. It would
be up to the web server to do the redirection.
 
Back
Top