一个网站上有两个域?

发布于 2024-07-29 19:31:48 字数 570 浏览 0 评论 0原文

我正在为我的雇主调查一个小问题。 我的公司在域名 www.domainone.net.nz(是的,新西兰)的 SSL 证书下运行一个网站。

但是,高层营销决定将我们的主域名更改为 www.domaintwo.co.nz。

那么,简单吧? 为 www.domaintwo.co.nz 购买新的 SSL 证书并使其在 IIS 上运行。 简单的。

然而,我们发布了一些需要通过 HTTPS 访问的 Web 服务 - 有一些系统正在使用 https://www.domainone.net.nz/

我想同时运行两个证书,并为我们使用这些 Web 服务的合作伙伴和客户提供一个设定的时间范围(例如六个月) ) 在撤销 www.domainone.net.nz 证书之前滚动到新域。

搜索起来有点麻烦 - 我不断收到通配符 SSL 域的解释,这在这种特殊情况下没有帮助,因为中心域名已更改。

在IIS下可以吗? 我的 asp.dll 显示版本 6.0.3790.4195

I'm investigating a little problem for my employer. My company runs a website under an SSL certificate for the domain www.domainone.net.nz (Yes, New Zealand)

However, there's been a high-level marketing decision to change our primary domain to www.domaintwo.co.nz.

So, easy, right? Buy a new SSL cert for www.domaintwo.co.nz and get it running on IIS. Easy.

However, we have a few WebServices published that need to be accessed over HTTPS - there's some systems in place out in the wild that are using https://www.domainone.net.nz/

I would like to run BOTH certs at the same time, and give our partners and clients that are using these WebServices a set timeframe (six months, say) to roll over to the new domain, before revoking the www.domainone.net.nz cert.

This is a bit fiddly to search for - I keep getting explanations of wildcard SSL domains, which wouldn't help in this particular case, as the central domain name has changed.

Is this possible under IIS? My asp.dll shows version 6.0.3790.4195

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一腔孤↑勇 2024-08-05 19:31:48

如果两个站点都有单独的 IP 地址,则可以简单地创建两个站点,每个站点都有一个 SSL 证书,并将两个站点的目录指向同一位置。

但对于一个网站来说,这是不可能的

It's possible, if you have separate IP addresses for both sites, simply create two sites, one with each SSL certificate and point the directories for both sites to the same place.

But with a single website, no it's not possible

少女净妖师 2024-08-05 19:31:48

只要每个 SSL 证书有两个不同的 IP,您就应该能够执行此操作,您可能必须设置两个指向同一位置的站点才能使其正常工作,但我不确定。

you should be able to do this as long as you have two different IP's one for each of the SSL Certs, you may have to set up two sites that point to the same location to get it working properly, but im not sure.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文