终止托管和 SSL 并重定向域名
Terminate hosting and SSL and redirecting domain name
我有以下场景:
域名为 example-old.com 的网站由托管服务提供商托管。
域名为 example-new.com 的网站由另一个托管服务提供商托管。
域名为 example-old.com 的网站所有者想要停止 hosting 和 SSL(要访问旧网站,您必须键入 https://example-old.com). He wants to keep the domain name example-old.com and when someone navigates to https://example-old.com or http://example-old.com to redirect to https://example-new.com/service。
不言而喻,购买和使用托管和SSL例如-new.com!
我知道我们必须以某种方式使用 301 永久重定向从 example-old.com 到 example-new.com/service.
问题:
- 是否可以在未托管的域上使用重定向?我通常在主机的 .htaccess 文件中进行 301 重定向。
- 我们如何对域名注册商执行 301 重定向?
- 前提是我们实现了 301 重定向,并且由于域 example-old.com 的 SSL 不再 paid/valid 当有人导航到 https 时将如何反应://例子-old.com?它会失败吗?有解决办法吗?
- 要从 example-old.com 重定向 SSL 和非 SSL 流量,我需要 2 个不同的重定向规则吗?
提前致谢!
Is it possible to use redirection on a domain without been hosted? I usually do 301 redirects within the .htaccess file of my hosting.
没有。如果 URL 下无法访问服务器,则没有服务器可以发出重定向。
How do we perform a 301 redirect on the domain name registrar?
一些注册商提供 HTTP 重定向,因为他们自己为此类托管域托管服务器。也许您也可以像 Cloudflare 和 add the necessary redirection rules there.
这样的 CDN
Provided that we achieved the 301 redirection and since the SSL for the domain example-old.com is no longer paid/valid how is going to react when someone navigates to https://example-old.com
? Is it going to fail? Is there a solution to this?
要从 https://example-old.com
进行重定向,您需要在发出重定向的服务器上安装 example-old.com
的有效证书。
To redirect both SSL and non-SSL traffic from example-old.com do I need 2 different redirection rules?
这取决于发布重定向的服务器的设置和配置界面。
我有以下场景:
域名为 example-old.com 的网站由托管服务提供商托管。 域名为 example-new.com 的网站由另一个托管服务提供商托管。
域名为 example-old.com 的网站所有者想要停止 hosting 和 SSL(要访问旧网站,您必须键入 https://example-old.com). He wants to keep the domain name example-old.com and when someone navigates to https://example-old.com or http://example-old.com to redirect to https://example-new.com/service。
不言而喻,购买和使用托管和SSL例如-new.com!
我知道我们必须以某种方式使用 301 永久重定向从 example-old.com 到 example-new.com/service.
问题:
- 是否可以在未托管的域上使用重定向?我通常在主机的 .htaccess 文件中进行 301 重定向。
- 我们如何对域名注册商执行 301 重定向?
- 前提是我们实现了 301 重定向,并且由于域 example-old.com 的 SSL 不再 paid/valid 当有人导航到 https 时将如何反应://例子-old.com?它会失败吗?有解决办法吗?
- 要从 example-old.com 重定向 SSL 和非 SSL 流量,我需要 2 个不同的重定向规则吗?
提前致谢!
Is it possible to use redirection on a domain without been hosted? I usually do 301 redirects within the .htaccess file of my hosting.
没有。如果 URL 下无法访问服务器,则没有服务器可以发出重定向。
How do we perform a 301 redirect on the domain name registrar?
一些注册商提供 HTTP 重定向,因为他们自己为此类托管域托管服务器。也许您也可以像 Cloudflare 和 add the necessary redirection rules there.
这样的 CDNProvided that we achieved the 301 redirection and since the SSL for the domain example-old.com is no longer paid/valid how is going to react when someone navigates to
https://example-old.com
? Is it going to fail? Is there a solution to this?
要从 https://example-old.com
进行重定向,您需要在发出重定向的服务器上安装 example-old.com
的有效证书。
To redirect both SSL and non-SSL traffic from example-old.com do I need 2 different redirection rules?
这取决于发布重定向的服务器的设置和配置界面。