What are the steps to test Discourse before switching domains

You could add an entry in your local hosts file to point your current hostname to the new IP.