You do not need to do any folder modification, just create a subdomain. Usually you can easily do it through the hosting administration panel, consult your provider.
(hostgator is called cpanel. www.yoursite.com/cpanel)
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.