Skip to content

Latest commit

 

History

History

multi-site-default-site

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Multi Site with default site

Test the ability to set a default site in multi-site mode, as well as what happens when there is no matched binding with no default site set.

Setup

We need every combination of each of these items

  • One site tagged as default
  • No default site

For this test, define default settings in the web block and 3 sites in the server.json. Each site needs at least one hostAlias. Declare a top level HTTP binding that all sites share

  • site1
  • site2
  • site3

Hit site on domain not bound and ensure 404 "site not found" is displayed when there is no default and then ensure the default site is used when one is set.

Tests

start server.json
start server-no-default.json