Configuring domains for restricted access