Update apiDomain on a permanet redirect (301)