Hello,
Please refer to this documentation: https://codex.wordpress.org/Moving_WordPress
Regards, Eva Kemp.