Apologies for the delayed response @Mike-E-angelo . As you've discovered, virtual applications can't be bound to a custom domain. Reason being is because the domain is bound to the worker instance that your app service is running on.
Over 90 seconds taken for the swap is definitely something to look into. The operation is pretty straightforward;
- apply applicable settings
- warm-up the slot with HTTP requests
- switch routing after 200
Some things that could impact startup is the usage local cache or a lengthy application startup. The use of local cache will initialize an additional restart after the local cache on the staging slot but as long as you're following best practices that should be fine.
So, a couple of follow up questions:
- If you swap from within the portal, does it take longer than 90 seconds?
- Did you customize
WEBSITE_SWAP_WARMUP_PING_PATH
orWEBSITE_SWAP_WARMUP_PING_STATUSES
To troubleshoot, check your logs at D:\home\LogFiles\eventlog.xml for any timeouts or routes that may not be returning success codes. If you are using local cache, do you get the same result if you swap without local cache? If not, you may need to rethink your cache strategy.