Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Switch URL to www

Posted on 2014-12-22
3
103 Views
Last Modified: 2014-12-22
Hello,

I want visitors who access my site via domain.com to be switched to www.domain.com

Is this best done via IIS or DNS and how would I do it in that system?

Thanks,

Steve
0
Comment
Question by:skbohler
3 Comments
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 400 total points
ID: 40513197
It is typically done at the IIS level with URL Rewrite.  Below is a how-to article describing what you need to do.

Reference link:  http://www.dotnetexpertguide.com/2011/08/iis-7-redirect-domaincom-to.html

Dan
0
 
LVL 7

Assisted Solution

by:Gauthier
Gauthier earned 100 total points
ID: 40513265
No need for URL rewrite in that scenario.
URL rewrite can cause conflict with compression, so if they are not needed avoid them.
just create a second website for domain.com and use the http redirect module
0
 

Author Comment

by:skbohler
ID: 40513285
Since the one site ends up bring forwarded to different domains based on the URL, the URL Rewrite (because it has conditions) seems to be the best choice for us. Thank you!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Internal to DMZ IIS Authentication. 3 19
Reverse DND setup 6 37
Public DNS  Vs BGP 20 20
Help with bash script to get continual input 6 9
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question