Hi All
I'm frustrated because this is something I have done several times, have working in production and am not able to do again. I suspect there's a piece of understanding I'm missing.
I've installed Apache on a Digital Ocean, Ubuntu droplet:
aptitude install apache2 a2enmod proxy a2enmod proxy_http service apache2 restart
And configured it to forward to port 8938:
nano /etc/apache2/apache2.conf
<VirtualHost *:80> ServerAdmin paul@nakedelement.co.uk ServerName solr.nakedelement.co.uk ServerAlias solr ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPreserveHost on ProxyPass / http://localhost:8983/ ProxyPassReverse / http://localhost:8983/ </VirtualHost>
service apache2 restart
However, when I go to the droplet in the browser I get a 404.
I have an existing droplet which is configured in exactly the same way and when and I access it in a browser via its IP address I get a 404, which is odd, because if I access it via solr.nakedelement.co.uk it works and the url just points to the IP address.
I've tried the obvious thing of removing ServerName and restarting Apache, but there's not change.
What am I not understanding?