It works for two different domains. You have to have a dispatch.yaml only at the root of the default site.
dispatch:
# send all default_site.com requests to default service.
- url: "default_site.com/*"
service: default
# send all another_site.com requests to another_site service.
- url: "nother_site.com/*"
service: another_site