A seed only applies when a new world is made. So you set the seed, then let your server make a fresh world.
Set your seed
- Stop your server.
- Open Server Files. To keep your current world, rename the
worldfolder (for example toworld-old). Or delete it, if you don't need it. See Reset your world. - Open Properties, and search for
level-seed. - Paste your seed into the box, then click Save.
- Start your server. It generates a new world from your seed.
Check it worked
Type seed in the console. It shows the seed your world is using.
Seed not working?
If the seed command shows a different seed, your old world was still there when the server started. Stop the server, rename or delete the world folder, and start it again.