如何在server 2003上配置多个内网网站?
我有两个 Intranet 网站,但它们是默认网站下的文件夹,因此我将访问 //server-internal/websitedirectory1/ adn //server-internal/websitedirectory2。用户不喜欢这样。他们希望使用一些有意义的名称进行访问,例如 website1.intranet.com 和 website2.intranet.com。我怎样才能实现这个目标?多谢。
I have two intranet website but they are as folders under default website so I would access as //server-internal/websitedirectory1/ adn //server-internal/websitedirectory2. Users don't like this. They want to access with some meaningful name like website1.intranet.com and website2.intranet.com. How can I achieve this? Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果这两个“站点”共享会话信息,您将会遇到问题。通过设置两个虚拟文件夹来测试这一点。
You will have a problem if these two "sites" share session information. Test this by setting up two virtual folders.
您需要在 IIS 中添加多个网站并将它们设置为响应不同的主机标头(在“属性”中)。
您还需要设置 DNS。
You need to add multiple Web Sites in IIS and set them to respond to different Host headers (in Properties)
You'll also need to set up DNS.