Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
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
Author: deathandgravity replied at 2024-07-16 15:47:50
Thanks for the replies!
I will get back as soon as I can test.
Regards!
I will get back as soon as I can test.
Regards!
Assisted Solution
Expert: Pankaj Parmar replied at 2024-07-16 14:25:08
150 points GOOD
Open IIS Manager version 7 console on your old server.
Go inside your website, go into HTTP Redirect.
Check mark redirect request, enter new site URL, click apply in right hand top corner.
For more details ref. http://www.trainsignal.com/blog/iis7-redirect-windows-server-2008
If old server has IIS 6, please ref. below links.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true
http://www.serverintellect.com/support/iis6/iis-url-redirect.aspx
Let me know if this helps, Thank you.
Go inside your website, go into HTTP Redirect.
Check mark redirect request, enter new site URL, click apply in right hand top corner.
For more details ref. http://www.trainsignal.com/blog/iis7-redirect-windows-server-2008
If old server has IIS 6, please ref. below links.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true
http://www.serverintellect.com/support/iis6/iis-url-redirect.aspx
Let me know if this helps, Thank you.
Expert: duncanb7 replied at 2024-07-16 11:50:39
lower case of meta instead of META
Accepted Solution
Expert: duncanb7 replied at 2024-07-16 11:49:18
150 points GOOD
<head>
<title> Old homepage location </title>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=https://www.beta.com">
</head>
change CONTENT="0" instead of 1
So
<head>
<title> Old homepage location </title>
<meta http-equiv="Refresh" content="0; url=https://www.beta.com">
</head>
<title> Old homepage location </title>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=https://www.beta.com">
</head>
change CONTENT="0" instead of 1
So
<head>
<title> Old homepage location </title>
<meta http-equiv="Refresh" content="0; url=https://www.beta.com">
</head>
Expert: btassure replied at 2024-07-16 11:20:48
I would do the redirect in IIS myself.
Technet instructions are here:
http://technet.microsoft.com/en-us/library/cc732969(v=ws.10).aspx
You probably want to redirect to a relative destination if you have the same URL/folder structure, just with a new domain. You will want to set it as a permanent redirect (code 301) if you are keeping this structure.
Technet instructions are here:
http://technet.microsoft.com/en-us/library/cc732969(v=ws.10).aspx
You probably want to redirect to a relative destination if you have the same URL/folder structure, just with a new domain. You will want to set it as a permanent redirect (code 301) if you are keeping this structure.