Use domain from the settings file.