IIS 相当于 Apache 中的 VirtualHost [英] IIS equivalent of VirtualHost in Apache

查看:27
本文介绍了IIS 相当于 Apache 中的 VirtualHost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有与 Apache 的 VirtualHost 等效的 IIS?我们希望能够从一个 IP 运行多个网站,并使用不同的 DNS 名称对它们进行寻址.

Is there an equivalent to Apache's VirtualHost for IIS? We want to be able to run multiple websites from one IP and address them with different DNS names.

即我有

www.dom1.com
www.dom2.com
www.dom3.com

都指向123.123.10.1.Apache 将仅在端口 80 上运行,并仅使用虚拟主机来决定应为哪个站点提供服务.

that all point to 123.123.10.1. Apache would just be running on port 80 and just use virtualhost to decide which site should be served.

这可以在 Windows IIS6 中实现吗?

Is this possible in Windows IIS6?

谢谢

推荐答案

您想使用 Host Headers inIIS - 该链接将指向一个不错的操作方法页面.

You want to use Host Headers in IIS - that link will lead to a nice how-to page.

这篇关于IIS 相当于 Apache 中的 VirtualHost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆