Want to redirect main domain to actual website

Hi, my main domain xxxxxxx.com, is taking me to cpanel instead of actual website, to access website i have to give it another address like xxxxxxx.com/website, how can i send my actual domain directly to the website instead of the cpanel?

You have to set rewrite rules adding rewrite rules for redirection.
if you want main site in it you can change root directory too

hi, can you give me a little intruction about this? this is my first time using web related applications, thanks in advance!