How to config all subdomain to domain/public_html?

I want to set default all subdomain to public_html folder, how can I do that?

Any specific reason for this?

Although you can modify cyberpanel to make this change but it wont be permanent. Any cyberpanel upgrade command will reset these changes with original cyberpanel functions.