название сайта по сравнению с именем хоста на iis 7 - добавление нового сайта

Использовать ServerAlias, вместо ServerName один:

ServerName somename.dev

ServerAlias *.dev

2
задан 9 November 2011 в 11:26
1 ответ

The site name is a descriptive name which will appear in the IIS management interface. This name can be anything that allows you to determine at a glance what the site is.

The host name is the name that you will use in the host portion of the URL, i.e. http://thisisthehostname.example.com/bla/bla/, the bold part is the host name. The host name is functional because the web server (IIS) can have multiple sites defined, and will use the host name in the URL to decide which site to use for an incoming HTTP request.

2
ответ дан 3 December 2019 в 12:04

Теги

Похожие вопросы