When a site is set to respond to a origin-hostname used by a CDN. You never want to output the origin-hostname anywhere. A flag (on the site host model) for "official hostname (for language)" or something would be valuable in this instance.
Some related discussions:http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=85272
Thanks for your feedback. We will look into your request for a future release.