If your WordPress is a brand new install, you can remove the installation and then reinstall it through Softaculous.
If you built the site already and do not want to remove the WordPress install, you can move the files through your cPanel and set the site url in the Wordpress dashboard.
- First, log into your cPanel.
- Click the File Manager and Select Go.
- If you have website files you want to keep in the public_html, move them to a backup folder. The following explains how.
a. Navigate to the directory your WordPress was installed in. (The Main domain will be in the public_html) See this article for more information.
b. Create a folder called backups.
c. Select the files to backup (Except the folder your WordPRess is in) and copy them to the backup folder
- Next, navigate to your wordpress directory. Select all the files and copy them to the public_html. (Do not move the files as they will still need to be accessible for the next step.)
- Log into your Wordpress dashboard.
- Navigate to the Settings.
- Change the WordPress Address (URL) and the Site Address (URL) to your domain you moved the files to. (See this article for more information on the site url.)
- Click Save changes.
Important! If there are any hard coded links or references to the old location, the site will have broken links. If this is the case, you may need to change the urls in the database and in your dashboard posts.
Now the wordpress will work on your domain you moved your files to. Hope this helps!