Config: Ubuntu Server LTS 14.04, Moodle 3.0.2+ (Build: 20160211)
Hi I have finished building my first Moodle on Linux and have a some questions:
1: The server (Computer name) is called "Subuntu", the file /etc/apache2/apache2.conf, States the ServerName as "localhost" to slightly complicate the issue the DNS server has the server name as lmserver and finally we have an internal DNS zone that matches the external host name so that we can use the same address internally as externally.
Not knowing Linux that well if I change the Computer name to lmserver from subuntu will Apache, PHP, MySQL or Moodle care, also is it required that the server name stated in the apache2.conf has to match the DNS name "lmserver" or the server name "Subuntu" because if not I'll just leave it.
Current Host files
hostname:
subuntu
host:
127.0.0.1 localhost
127.0.1.1 Subuntu
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
<Internal IP> LMServer
2: Although I thought I enabled HTTPS correctly it would seem that the site root is still http.
3: I'm Having an issue with the Document root, I have managed to get the Incorrect access page to go direct to the WWWRoot without a delay thanks to Howard Miller's post (here) but when I change the Document Root from "/var/www/html" to "/var/www/html/moodle" and alter the WWWRoot to reflect the change, the system starts to loose all its theme colouring and some links as they are still using the old WWWRoot path.
Am I missing a process I need to do (I have rebooted and restarted the services).
Thanks Simon