本地网络上的IIS7 [英] IIS7 on Local Network

查看:76
本文介绍了本地网络上的IIS7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我只是第一次开始在Windows 7上使用新的IIS7控制台,我不得不承认,这一切似乎都被复杂性所淹没.我意识到我只需完成工作并开始阅读,但是我特别需要立即调查的功能之一是它可以运行多个网站.

我有一个网站,实际上是几个相互链接的网站(具有不同的域名).在我的实时网站提供程序上进行设置没问题,但是我需要的是尝试在本地网络上尽可能地复制相同的行为.

我有一台Windows7/IIS7计算机,本地网络上只有一个IP.是否可以同时运行多个网站并通过某种形式的URL访问这些网站?最后一点实际上是问题.我不在乎是否什至必须使用原始IPV4地址和端口号,但如何从网络上的另一台计算机访问同一台计算机上2个不同网站中的页面?

很抱歉,文章的长度,有点难以解释我需要做什么.任何有关此信息的指针将不胜感激.


顺祝商祺
帕特里克

Hi,

I am just starting to use the new IIS7 console on Windows 7 for the first time, and I have to admit to being somewhat overwhelmed by the apparent complexity of it all. I realise that I need to simply do the work and start reading, but one feature I have a particular need to investigate promptly is its ability to run multiple websites.

I have a website that is actually several websites (with different domain names) which link to each other. Setting this up on my live website provider is no problem, but what I need is to try to replicate, as closely as possible, the same behaviour on my local network.

I have an Windows7/IIS7 machine with a single IP on my local network. Is it possible to get this to run multiple websites simultaneously and have these accessible by some form of URL? This last bit is the problem actually. I don''t mind if I even have to use raw IPV4 addresses and port numbers but how do I get access to pages in 2 different websites on the same machine from another machine on my network?

Sorry for the length of the post, bit difficult to explain what I need to do. Any pointers to information on this would be very gratefully received.


Best wishes,
Patrick

推荐答案

当您说单个站点实际上是多个站点时,我不确定您的意思,但是假设它们是子域(?).您可以尝试在IIS中设置网站并在其下创建不同的虚拟文件夹,然后将虚拟文件夹链接到不同的子域.之后,您可以通过在URL中具有特定的域名(虚拟文件夹)来访问不同的站点.
I am not sure what you mean when you say the single site is actually multiple sites, but am assuming that they are subdomains(?). You could try setting up a web site in IIS and creating different virtual folders underneath it, linking the virtual folders to the different subdomains. After that you can access the different sites by having the specific domain name(virtual folder) in the URL.


这篇关于本地网络上的IIS7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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