Setting up custom domain in OSClass

Please go to your server root and open config.php to setup custom domain

cd /var/www/html/

nano  config.php
 * The base MySQL settings of Osclass
define('MULTISITE', 0);
/** MySQL database name for Osclass */
define('DB_NAME', 'osclass');
/** MySQL database username */
define('DB_USER', 'user');
/** MySQL database password */
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Table prefix */
define('DB_TABLE_PREFIX', 'oc_');
define('REL_WEB_URL', '/');
define('WEB_PATH', 'http://yourIPaddress/');

change this with your domain like mentioned below

define('WEB_PATH', '');

Recommended For You.

Introduction Systemd is an init system and system manager that is widely becoming the new standard for Linux machines. While there