Function App: Share single custom domain across two function apps (public and private) with split DNS.

RobA
1
Reputation point
Hello,
What is the best approach to sharing a custom domain cross two Function Apps (one public / one private)?
- Single custom domain with split DNS
- A public accessible Function App
- A privately accessible Function App via Endpoint/vNet/ExpressRoute
Both instances of the function apps are logically identical, operating on different source data.
The app uses the source IP address of the request, to return a specific service URL.
Attempts to add the custom domain to the second function fails, with error Hostname is already being used in the following App: <function name>. Please remove the hostname from <function name> ,and try again.
Regards
Rob
Sign in to answer