Connection to a domain nameserver

Re: Connection to a domain nameserver

by Clément Michard -
Number of replies: 0

It works, thanks. 


For those who may pass by : 

on putty, connect to your server (or on the prompt of your server)

(i use vim, but cat or nano are the same)

sudo vim /var/www/html/moodle/config.php


line 21 : $CFG->wwwroot   = 'http://192.168.0.152/moodle';

rewrite into

$CFG->wwwroot   = 'http://yoursite/moodle';


and it works perfectly.