I have installed moodle on a server with an IP address of A.B.C.D, using the command
sudo apt-get install moodle
This site is sucessfully running on the following address
http://localhost/moodle
However, when I try to access moodle from another computer on the network, it so happens that all the links are absolute and not relative, i.e. all links are shown as localhost/moodle/login.php for example.
Any clues on the configuration on Ubuntu?