The solution Sol-7640 article explains how to set the default site type to Private instead of Public when creating a new site.
The solution worked perfectly on version 4.2.2 but seems to have no effect on version 5.2.2.
Steps to reproduce
Follow the steps in SOL-7640 and try to create a new site
Default site type should be set to Private
Default site type is set to Public
Analysis to date
The script below contains a variable setting a default website type, I changed to private and nothing happened.
I have installed alfresco 5.2.2 OOTB deleted the template 'create-site.get.html.ftl' and can still create a site.