[英]Configuring url IIS 8
I'm configuring an IIS 8 Server, and here is the schema that I'm thinking. 我正在配置IIS 8服务器,这是我正在考虑的架构。
I need two environments 我需要两个环境
Inside ineptup/wwwroot folders I have this structure 在ineptup / wwwroot文件夹中,我具有此结构
I want to access applications under homolog's environment with: 我想通过以下方式访问同系环境下的应用程序:
I want to access applications under production's environment with: 我想通过以下方式访问生产环境下的应用程序:
So, how can I configure it at IIS 8? 那么,如何在IIS 8上对其进行配置?
Normally IIS Default Website(which is pointed to inetpub folder) will run on 80 port, You can override it. 通常,IIS默认网站(指向inetpub文件夹)将在80端口上运行,您可以覆盖它。
If you want to have different ports for your sites Create website by right clicking on sites, give appropriate path and port number in below window 如果要为站点使用不同的端口,请通过右键单击站点来创建网站,并在下面的窗口中提供适当的路径和端口号
Give site name(this can be any name just to identify your site in IIS) Physical path Port Number While creating sites check the application pool, it should target to your framework 提供站点名称(可以是任何名称,仅用于在IIS中标识您的站点)物理路径端口号创建站点时,检查应用程序池时,应以您的框架为目标
For domain you have to give host name, before that you have to map your server with DNS provider 对于域,必须提供主机名,然后才能将服务器与DNS提供商映射
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.