Support for specifying preferred domain when shortening urls