I have a static single page web app hosted on Google Firebase on mydomain.com. It uses API served by Google App Engine on api.mydomain.com.
mydomain.com
api.mydomain.com