How to configure a server to have registration