We are building a new web server with a different domain name and planning to move websites from old web server to new new serve. Do we have to change all the absolute urls in the web pages before moving? Can we configure IIS server to make automatic redirect
to new server? Thanks
With mirroring, both domain names point to the same place. Its nothing more than a naming game essentially. However, I have to wonder why you would hard-code domain names into your links if they're on the same site? Wouldn't links like ~/subfolder/MyPage.aspx
be sufficient? Just wondering is all. :)
Mark as answer posts that helped you.
Marked as answer by bbcompent1 on Apr 27, 2012 04:04 PM
longmatch
Member
162 Points
92 Posts
A way to avoid changing absolute url the website on new server?
Mar 09, 2012 10:51 AM|LINK
We are building a new web server with a different domain name and planning to move websites from old web server to new new serve. Do we have to change all the absolute urls in the web pages before moving? Can we configure IIS server to make automatic redirect to new server? Thanks
bbcompent1
All-Star
33824 Points
8760 Posts
Moderator
Re: A way to avoid changing absolute url the website on new server?
Mar 09, 2012 11:09 AM|LINK
In this case, you can actually take advantage of what is called Domain Name Mirroring. So say you have domains like this:
www.site1.com
www.site2.com
With mirroring, both domain names point to the same place. Its nothing more than a naming game essentially. However, I have to wonder why you would hard-code domain names into your links if they're on the same site? Wouldn't links like ~/subfolder/MyPage.aspx be sufficient? Just wondering is all. :)