How to configure my Moodle to work with the server URL instead of my own domain name?

You have to make a minor change in the config.php file, that resides in the Moolde folder. This file can be easily modified using File Manager in cPanel.

Open the config.php file and change the www_root directive to:

$CFG->www_root = 'serverip';

Where serverip stands for the IP address of the server, or the server hostname where your account resides.

Your SiteGround server information is listed in your User Area -> My Accounts -> Information & Settings.

You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!