I created a subdomain test.xxx.com, and sent the same files that are in the main domain for this test domain, but the page is not displayed. The error "This webpage is not available" is displayed.
The primary domain "xxx.com" works perfectly.
If you created your subdomain on the DNS server you'd also have to add an appropriate binding to your site in IIS.