Configuring domains the right way