How to build a WordPress website using the server URL of my account

The server URL for the primary domain name of an account looks like this:

where: is the hostname of the server where your account is located. You can check your account's server name from cPanel -> Account information section (located on the left side of the cPanel home page) -> Server Hostname.

cpanel_username is the cPanel username for your account.

If you currently do not have WordPress installed on your account, you can easily install one via cPanel > Softaculous. Once you have done so, you should change the siteurl and home options in the WordPress database. You can make the change in phpMyAdmin, available in cPanel.

Once in phpMyAdmin, select your WordPress database and then the wp_options table. Bear in mind that the wp_ database prefix may be different for your database and is the one you chose during the WordPress installation. Find the options siteurl and home and change their values to the server URL for your account.

If you are not sure exactly which database is related to your WordPress installation you can find its name inside the wp-config.php file situated inside the WordPress root/installation folder. You can open the file with the File Manager in cPanel, then search for the following line:

Finally you should update the WordPress RewriteRules inside the website's .htaccess file so that they match the new URL. The default rules are these:

and you need to change them to:

where cpanel_username is your cPanel username.

You can use the FileManager to make the .htaccess changes.

If you want a lightning-fast WordPress website, check out our free eBook WordPress Speed Optimization Ebook! In it you will find a variety of easy-to-follow tips to improve the speed of your site!