Related to this question: What’s the point in having “www” in a URL?
How can I do a “www” redirection form a DNS record level? I don’t want to tweak apache or IIS to achieve this.
|
feedback
|
|
Only through web server. DNS is not suitable if you want to domain redirection. Domain redirection:
All techniques use web server. | ||||
|
feedback
|
|
you cannot do redirection in DNS however you can define CNAME entry for www | |||
|
feedback
|
|
If your web server is configured in meaningful way, you can just add two records that point to same server. Usually it's not important to have specific address in user's address bar (what is the difference if user sees As already answered, you can't redirect client on DNS level. In web server, you don't have to modify web server configuration, if both virtual hosts (with and without
to redirect visitors to example.com (without www). | |||
|
feedback
|