DNS: www.sitename.com - sitename.com

I have a variety of sites and I'd like to automatically have a user's browser go from:

www.sitename.com 

to

sitename.com

automatically using DNS after they've typed in the full www.sitename.com - I have been told that this can be accomplished by using CNAME?  Any ideas?  BY the way, I'm using BIND on Fedora Core 5 servers
LVL 1
jpipitoneAsked:
Who is Participating?
 
ravenplConnect With a Mentor Commented:
No, You will not do it with DNS subsystem. instead go to Your web server.
If it's apache, use mod_rewrite feature or create another virtualhost which only redirects to the proper name.
Go to the apache Topic Area or Apache documentation - lot's of examples.
0
 
jpipitoneAuthor Commented:
ok thanks
0
All Courses

From novice to tech pro — start learning today.