1. migrate to a new server with the same domain name
2. migrate to a different domain name on the same server
3. migrate to a new server and a new domain name
4. migrate to a root directory or a sub-directory
After migration, your site will work and look exactly the same as before.
Basic wordpress migration
Migrate a basic wordpress website to a new server or a new domain