Or you could use a web development methodology from this century
There is a dirty little secret.
Creating a webpage is really just playing around with HTML (and CSS). No programming involved really.
You can make really really nice looking professional websites with just HTML and CSS and a few images.
HTML is just a markup language meaning its just a bunch of tags enclosing text (just like the bbcode tags we have on this forum).
CSS is used to manipulate the properties of every HTML tag to change how the browser renders it.
If you want to have connectivity to a database and use forms and the like then you will probably want to learn PHP which is a scripting language that is ran by the webserver and stdout from your script is feed to the web browser (your script prints out the webpage).
However, C++ won't be of any use to you unless you take a walk on the wild side.
There is this ancient concept called the CGI-Bin or CGI binary: basically your web server calls up an executable on the command line passing the get string in the command line and passing the post string as stdin. The CGI-Bin will print out the webpage as stdout. It will also have environmental variables set by the webserver (like what browser they used etc).
I used the CGI-Bin way to create an e-commerce site entirely in COBOL for a school project (showing off of course).
PERFORM VARYING INSANITY BY 1 FROM 0 UNTIL 9000 ... END PERFORM.
Things have long since moved past PHP and cgi. There's no reason to use either of them unless you're maintaining a legacy project. PHP in particular is an unholy abortion of a language.
On the server side, REST is the way to go. You can use pretty much any language you want, as long as you provide a RESTful web api. You Can even use C++ is you want