Back up all data.
Quit the Server application and drag it to the Trash, but don't empty. You'll be prompted to confirm that you want to stop all services. You won't lose any data.
If you're using the server for DNS, temporarily change the primary DNS setting in the Network preference pane to another DNS.
Put the app back where it was and launch it. Test.
Revert the DNS setting, if applicable.