Solved

Rebranding.  Change domain ONLY.  How to change/redirect URL from old to new.

Posted on 2014-02-10
2
603 Views
Last Modified: 2014-02-11
Our company changed it's name and so the URL for all of our IN HOUSE HOSTED web sites and web applications.

How can I "redirect" www.OLDDomainName.com/Whatever to www.NEWDomainName.com/Whatever?

Some pages are ....com/default.htm and some are ....com/default.aspx.

Then some web applications are virtual directories like, www2.DomainName.com/WebApplication/default.aspx


Both the old and the new URLs point to all the same pages.  We have one web server and one set of web sites.   I just want for when someone browses to OldDomain.com it changes or redirects them to NewDomain.com.  What shows in the address bar is the primary concern.

I tried putting a META permanent redirect "301" in the <head> of a page but it just made an infinite loop since for both URLs it's the same actual page.

Windows Server 2008 R2, IIS 7.5, ASP.Net and plain HTML


Thanks!  :-)
0
Comment
Question by:megnin
[X]
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
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39849242
A quick google for 301 iis gives me

http://www.iis.net/configreference/system.webserver/httpredirect

I am not an MS person, hence a link.
0
 
LVL 1

Author Comment

by:megnin
ID: 39849997
Hi,

Thank you for the reply.  I did something similar, but used "URL Rewrite" instead:
http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module

It looks like your method would work just as well so I'll credit you with the answer.

Thanks again for the reply.
0

Featured Post

Major Serverless Shift

Comparison of major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to count occurrences of each item in an array.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

623 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