Login to cPanel > Go to Software > Click Site Software.
Click on WordPress.
Click on Show Advanced Configurations.
Set your Installation URL. To install directly into a domain’s document root, leave the installation URL’s path blank. Set User and Password. Leave the rest of the fills untouch and click install.
Once that is done, you will see the successful message. WordPress is now installed and the login credentials will be given to you. To login wordpress admin, the url is https://domain.com/wp-admin.
Sometimes your domain is not pointed to the hosting yet therefore clicking your domain to see your wordpress website may not work from the start. Therefore you will need temporary URL to view first.