Hi Brett
On 25 April 2015 at 12:48, Brett Parker iDunno@sommitrealweird.co.uk wrote:
On 24 Apr 19:05, Paul Grenyer wrote:
What am I not understanding?
My guess is that you're not using the usual sites-enabled etc method, and that there's still /etc/apache2/sites-enabled/default in there that is getting the requests for the IP addresses.
a2dissite default
May well make your problems go away, though - I'm not sure why you have a problem with having to use the DNS name...
Thanks for this! This command is what I was using in previous configurations. It stopped working on Ubuntu recently and instead of investigating why I, stupidly, started fiddling with other configurations. I've gone back now and googled and the command I actually needed is:
a2dissite 000-default.conf
as the default site name has changed. It's now all up and running and I'm using 'sites-enabled' again.