IIS相当于虚拟主机的阿帕奇 [英] IIS equivalent of VirtualHost in Apache

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

问题描述

有一个相当于Apache的虚拟主机为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 。阿帕奇也只是运行在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?

感谢

推荐答案

您想使用IIS 主机头 - 该链接将导致一个不错的操作方法页

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

这篇关于IIS相当于虚拟主机的阿帕奇的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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