If you launch it from the dedicated jar it should already be online. However to make it pubicly accessible you will have to do some tricky stuff like port forwarding (assuming you aren't renting a server). Try getting a guide to to portforward a minecraft server on google.