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

cd /var/www/html/

nano  config.php
<?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 */
define('DB_PASSWORD', 'XXXXXXXXX');
/** 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', 'http://yourdomain.com/');

Recommended For You.

GitLab is an online Git repository manager with a wiki, issue tracking, CI and CD. It is a great way to

3 Replies to “How to install & configure GITLAB CI/CD on your own Server — Ubuntu 16.04”

  1. When I initially commented I clicked the “Notify me when new comments are added”
    checkbox and now each time a comment is added I
    get three e-mails with the same comment.
    Is there any way you can remove people from that service?
    Appreciate it!

Comments are closed.