Google: socket tutorial. There are plenty of examples on basic client server communication out there.
What i meant is how do i make a server? Idek how i would do any of this but no-one is even giving me a hint on how to start coding a server.
You should use tools that are available to you, and that you are comfortable in using.
What i mean is, what should i use to make the server? Is there a tutorial on this?
So, the first question is: What do you already know, and what do you have available to you?
What i already know is basically how to do everything needed to make an online game except how to code a server. So any help would be great!
You could also pick some higher level networking library (RakNet for example) and look for tutorials on that instead.