Hi
No idea, what 'was' means. The usual method is to set the directory the web server searches for files when no path is given to the main directory of Moodle code, i.e. where the config.php file resides. In Apache it is the https://httpd.apache.org/docs/2.4/mod/core.html#documentroot.
You must also change the $CFG->wwwroot in config.php to match and run the https://docs.moodle.org/en/Search_and_replace_tool to get rid of the old URL in the database.
No idea, what 'was' means. The usual method is to set the directory the web server searches for files when no path is given to the main directory of Moodle code, i.e. where the config.php file resides. In Apache it is the https://httpd.apache.org/docs/2.4/mod/core.html#documentroot.
You must also change the $CFG->wwwroot in config.php to match and run the https://docs.moodle.org/en/Search_and_replace_tool to get rid of the old URL in the database.