Please see KB article, How do I use a custom origin?