The school whos system I am managing has recently changed its name and consequently it want to change the main URL for Gibbon from portal.oischool.co.uk to portal.cischool.co.uk. I have made this change via the admin portal but still get the Apache 2 Ubuntu Default page if I go to portal.cischool.co.uk. I can tell that something has happened because now portal.oischool.uk doesn’t work. Have I done something wrong here or do I just need to reboot the web server to ensure the changes propagate through?
Hi sdbaldwin, if you’re changing the domain, the server and DNS will also need to change. Be sure to check the IP address of your server and then do a host portal.cischool.co.uk lookup to see if this new domain resolves to the correct IP address. Also, internally you’ll likely need to update any SSH certificates to match the new domain, check your Apache sites_enabled settings to change the default domain handler, and your /etc/hostname file. Hope this helps!
Sandra, thank you so much for getting back to me. I have only just managed to regain SSH access to the host as the IT support company had changed the settings when they migrated and have only just been able to let me back in. The IT company have already changed the DNS to point email@example.com to the host instead of the old portal.oischool.co.uk. Unfortunately I changed the base URL from within the system admin section of the website and so now it doesn’t work with portal.oischool.co.uk either!. When I navigate to portal.cischool.co.uk I still get the Apache2 Ubuntu Default Page instead of the Gibbon login page. I have fixed similar issues before on an older Gibbon version but just cannot remember what to do(too much heavy food over Christmas!). My /etc/hostname file just has the name of the host VM instead of the website URL so doesn’t need to change. What config files do I need to change to get this working again? Thank you so much in advance…
OK, so I thought I’d “found” the solution to this from one of my old threads (my memory is a bit flaky at the moment) and I used the advice in there to access the MariaDB database and change the absoluteURL to portal.cischool.co.uk. I rebooted the host hopefully but I still have the same issue: