דומיין חדש שרת חדש והפניה 301

Are both Discourse installations? Discourse handles the change of the domain and you can just setup the old domain to redirect to the new domain, this can be done in a temporary server or via DNS (not recommended).