Configuring a server to add to a domain