parse domain override and use it if necessary