How to make a HTTP server?

You could look into several libraries:

  1. Overview | POCO C++ Libraries
  2. Boost.Asio - 1.55.0

Take some information from this thread Small http server c++ - C++ Forum or from AnswerShark site, where you can find many homework answers. Of course, it’s important to determine for what functions the server will be used.