How to move files and directories after installation?

I've moved the directory to a server so that the installed Drupal 8 URL should change to ip address / old-file / d8 at mon-site.com/d8/.

When I checked the new URL, the homepage worked, but other pages generated a 404 error saying old folder / d8 / admin / structure /.

I have read drupal move to a subdirectory, but the answer to this question did not solve my problem.

Which file / configuration should I change in Drupal 8.6?