Использовать ServerAlias
, вместо ServerName
один:
ServerName somename.dev
ServerAlias *.dev
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.