Codeacademy is such a great website. They have many courses but they have two in particular that enable you to learn how to code a website and another course that shows you how to put it up so the rest of the world can see it. Check them out.
Course: Make a Website
Want to learn how to create a website? Check out our Make a Website course to learn the basics.
Course: Deploy A Website
We’ll teach you how to build a static site quickly, host it on GitHub, and put it on the Internet using your own custom domain name. After completing Deploy a Website, you’ll be able to launch your own websites on the Internet.