Find the world folder
In the game, select the world, click Edit, then Open World Folder. That opens the folder for that world inside the saves directory. On Windows, saves live in %appdata%\.minecraft\saves. The folder contains level.dat, a region folder and usually DIM-1 and DIM1 for the Nether and End.
Close the game before copying, so nothing is half-written.
Upload it
Zip the world folder, upload the zip to the server root with the file manager, and extract it there. Zipping first is much faster than uploading thousands of small region files one by one. For big worlds, SFTP with a client such as FileZilla or WinSCP is more reliable than a browser upload.
Stop the server before you upload, and back up the current world if it matters.
Point the server at it
Open server.properties and set level-name to the exact name of the uploaded folder, including capital letters and spaces. Start the server. If level-name does not match, the server quietly generates a brand-new world instead.
Nether and End on Paper servers
Vanilla keeps all dimensions inside one world folder. Paper, Purpur and Spigot split them into separate folders called <name>_nether and <name>_the_end. On the first start with a singleplayer world, Paper moves the DIM-1 and DIM1 data into those folders automatically. Leave it to finish and check the console for the migration messages.
Versions and datapacks
The server must run the same or a newer Minecraft version than the world. Opening a world on an older version risks corruption. If the world used datapacks, they travel inside its datapacks folder. Modded worlds need the same mods installed on the server, or modded blocks disappear.