Asked by deathandgravity
at 2024-07-16 11:18:07
Point:300 Replies:5 POST_ID:828594USER_ID:11433
Topic:
Microsoft IIS Web Server;;
I'm sure this has been asked before, but....
2008R2
IIS7
Have two websites:
Old: https://www.alpha.com
New: https://www.beta.com
Recently migrated over to the beta site (new dns & ssl cert)
Going directly to the beta site works great & I wanted to redirect anybody connecting to the old alpha site to the new site.
So… I added on the alpha.com site the following:
<head>
<title> Old homepage location </title>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=https://www.beta.com">
</head>
Problem is… get a ssl cert error & the webpage is not redirected, just the content. So – the address bar still shows https://www.alpha.com with the beta site content.
Obviously – I am missing something. What do I need to do so that anyone going to the old alpha site is redirected to the beta site?
Cheers & thanks in advance!
D&G
2008R2
IIS7
Have two websites:
Old: https://www.alpha.com
New: https://www.beta.com
Recently migrated over to the beta site (new dns & ssl cert)
Going directly to the beta site works great & I wanted to redirect anybody connecting to the old alpha site to the new site.
So… I added on the alpha.com site the following:
<head>
<title> Old homepage location </title>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=https://www.beta.com">
</head>
Problem is… get a ssl cert error & the webpage is not redirected, just the content. So – the address bar still shows https://www.alpha.com with the beta site content.
Obviously – I am missing something. What do I need to do so that anyone going to the old alpha site is redirected to the beta site?
Cheers & thanks in advance!
D&G