Added the possibility to use different domain names