Solved

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

Posted on 2014-02-10
2
597 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

739 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