apache virtual host not working

  • Posted December 19, 2014

Hi guys,

Mys ite was set up and functioning when I tried upgrading from Ubuntu 12.04 to 14.04 and it failed. I had to reinstall apache. Now when I go to my domain I get the default Apache page, which is ok, but I’ve looked at sites-enabled, sites-available and the domain is there and (supposedly) linking correctly.

In SSH I can see all files are available, I can still FTP in, etc. Any advice would be much appreciated.




Upgrading from 12.04 to 14.04 probably means you upgraded from Apache 2.2 to Apache 2.4

There are some minor configuration changes, most notably your config files in /sites-available need to end with .conf

Glance through this article real quick…might be a couple of other points:

have you enabled the port in the firewall, and ensured the service is running?

I blew away the droplet and restored from a snapshot, I changed the DNS to point to new IP address issued with the droplet.

Now IP address and domain are unreachable.

Is there anything else I have to do get the snapshot droplet up and running?

Thanks for any advice.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Ok. It was a DNS issue not resolving ServerName.

Thanks for your comments guys, it was very helpful. Very much appreciated.