I have a Drupal site configured to use the Apache Solr module for searching. I developed it using a local server on my machine. This works fine once everything is indexed.

I need to make this live, but I have shared hosting, which doesn't support Tomcat.

What can I do in this situation? Does the Apache Solr module support running the webserver and Solr server on different hosts?

  • 3
    Most shared hostings will not allow you to run solr on it, what you can do is search for a solr host for your site, and link your site to that host. in other words. your solr host could be on a different machine/host. – saadlulu Mar 21 '13 at 11:10
  • You mean to say...I should purchase another hosting from some other provider who support apache solr...ran that there...and link my current site to that ? – RajeevK Mar 21 '13 at 11:13
  • exactly. If that wont cost much ;) – saadlulu Mar 21 '13 at 11:44
  • @saadlulu - Can you suggest any cheap option for it ? – RajeevK Mar 21 '13 at 12:38
  • 3
    @RajeevK Hosting recommendations are off topic for this site. – Patrick Kenny Mar 21 '13 at 13:45

You can't run a solr instance on a regular hosting service; the most of them give you a database server and Apache Server.

However, you can use a Free or Paid solutions like OpenSolr, for example.
Once you have this configured, you just need to copy and paste the Solr URL into your Drupal Solr configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.