Setting up custom domain in OSClass

Learn | Teach Open Source Technologies

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', '');


Comments are closed.