When you get it all to work you can transfer the files to a real host.
“Keep the html files on your own pc while you are learning and serve them to yourself with Apache at localhost.”
For a beginner it would be safer to find a webhost, especially if he’s using Windows. If a zero-day vulnerability comes out for Apache someone could get root control of his computer.
That’s what I’ve been doing for the past several days. Everything is on my PC and I would like to just be able to upload them to a web hosting site, tweak them, and make them work. It doesn’t seem to be that easy anymore.
Yup, that is what I do. Apache for html and Tomcat for servlets, works great. Of course I could let tomcat handle the html too, but Apache is quicker with static content.