I have a website http://example.com
that needs a subdomain http://shop.example.com
In IIS I set up a new website for the shop website and set the hostname binding to shop.example.com
in DNS I tried both adding an A Record to the example.com zone file and that a record's host name is shop
with a fully qualified domain name of shop.example.com
and points to the new ip address.
That didn't work so I set up a new forward lookup zone file of shop.example.com
with an a record with the host as same as parent folder
and the FQDN as shop.example.com
and it points to the new ip address.
Neither of these solutions work and I'm not sure which is the right one or what I'm doing wrong.