Issue with ubuntu 16.04 after migration
I’m having an issue after an Emergency Droplet Migration had been performed.
The server is up and running, however this shows the default page (“Please log into you droplet…”) instead of the site content. This I would assume means it’s reading from the default config file instead of the ones I had set up for our site.
On checking the configs, the default was not present in the sites enabled directory and a “sudo apache2ctl -S” revealed that the default config files for 80 and 443 being used are correct. Furthermore, looking in those files the doc root and directory are pointing to the right location.
I also ran an “a2ensite” on the config files previously in use to again ensure these are enabled with no issue.
A couple of other things to mention is that when I run service apache2 reload I have the error: “apache2.service is not active, cannot reload.”. A “apachectl stop” returned “apache2.service is not active, cannot reload.” and running “apachectl stop” returned “httpd (no pid file)” (these were attempted after reading up on similar issues).
Any help provided would be a massive help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×