I have a Win 2k8 server that hosts multiple IIS apps that are under one domain, example.com
. The need for a second server has increased and will need to get more servers to host my apps.
On my server, I have a *.example.com
bound Default Website that does a simple redirect and several subdomains that have different purposes, such as foo.example.com
. What will happen if I add the same configuration to another server (different apps, different subdomains). Is DNS smart enough to somehow route queries to the right subdomains to the right server?
So, I would go from:
SERVER1 (203.0.113.1)
- Default: *.example.com
- App1: app.example.com
- App2: foo.example.com
- App3: bar.example.com
TO:
SERVER1 (203.0.113.1)
- Default: *.example.com
- App1: app.example.com
- App2: foo.example.com
- App3: bar.example.com
SERVER2 (203.0.113.2)
- Default: *.example.com
- App4: baz.example.com
- App5: qux.example.com
Is this possible? Do I need some special configuration or will this work automagically?