What is the best way to implement high availability for IIS so that if one server goes down, I simply repoint DNS to the backup and things are back up and running.
I was going to:
1. Export the IIS config on the Primary server to a local path.
2. Enabled shared configuration on the Primary server to point to that path
3. Ensure DFS replication replicates those configs to the same path on the Backup server
4. Enable shared configuration on the backup server to point to it's local path where the shared config has now been replicated to.
Is there anything else I need to do, or a better way to do this keeping in mind I'm by no means an IIS administrator and both machines are co-located on different subnets. I did notice that if I create a new web site, the webconfig does not replicate, which means I'd have to add that to DFS replication.
Maybe replicated the whole inetpub directory? I heard many people had issues with that.