As an example, OKCupid uses C++ and runs on a custom webserver.
They've also open sourced their server: https://github.com/okws/okws
If Ok-Cupid were started today I highly doubt they would do that the same way. But given when they did start it I figure they literally did not have a choice.