Use /setspawn (with the coordinates) to set a spawnpoint and use /spawn to teleport to that spawnpoint.
Can be used on a server (server-side only) or in singleplayer.