Change the document root using .htaccess file
The public_html directory is your Documentroot directory. Your website is loaded from public_html folder by default. If you have create a website under a sub-folder and you want to display it when you type the domain name, you will need to add the following lines to your .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteCond %{REQUEST_URI} !folder/
RewriteRule (.*) /folder/$1 [L]
You will replace domain.com with your domain name and replace folder with the folder having your website. In case if there is no .htaccess file under website, you can create a new .htaccess file using file manager in cpanel