Choose the Minecraft edition and version you want to host
Check the server hardware requirements
Install Java if required
Download the official Minecraft server software
Create a dedicated folder for the server files
Place the server file in the folder
Run the server once to generate the initial files
Open and accept the EULA in the eula.txt file
Configure server settings in server.properties
Set a static local IP address for the host computer
Allow the server port through the firewall
Forward port 25565 on your router to the host computer
Start the server again
Share your public IP address with players
Use a domain name or dynamic DNS if your IP changes often
Keep the server and Java updated
Back up the world files regularly
Use plugins or mods only if your server type supports them
Monitor performance and adjust settings if needed
