Managing sites with membership is quite available to most plugins and CMS. Wordpress also comes with members plugin. But in this tutorial, I will cover the WP e-Member plugin for WordPress. The plugin is used for restricting access to contents that are should not be visible publicly or certain membership is required in order to see some contents of the site.
This tutorial contains the guide on how to use the WP e-Member plugin.
See the tutorial here: