You have to place yourself in the place where you want to put the world spawn and execute the following command /setworldspawn
0 0
Thank you for voting on this article!