On 9/4/2017 4:35 AM, LAD, SAGAR wrote:
> How to add domain name like "ocean-solr-cd.dit.ocean.slb.com" in solr
> URL. Could you please let me know steps to add domain name?

The name by which you access Solr is not within the control of Solr.

SolrCloud is the only possible exception.  Each node in a cloud
registers itself in the zookeeper database with a host name, a TCP port,
and a server context.  If SolrCloud is left to do things without
configuration, it will register an IP address.  If you want it to
register a name instead, edit solr.xml to change/add the "host"
definition in the solrcloud section.

https://wiki.apache.org/solr/Solr.xml%204.4%20and%20beyond

Note that if you are editing an existing cloud to change the host names,
you're probably going to have to manually edit the zookeeper database to
remove the definitions under the old names.

Your Solr server should *not* be reachable from the open Internet if you
can avoid it.

Thanks,
Shawn

Reply via email to