Wondering if you can use your own custom domain for Algolia’s Search API requests? Here’s what’s supported.
At this time, Algolia does not support using custom domains directly for Search API endpoints.
However, you can achieve similar functionality by setting up a proxy server. With this setup:
- Your application sends search requests to your custom proxy.
- The proxy then forwards those requests to the standard Algolia endpoint (e.g.,
<APP_ID>-dsn.algolia.net).
To do this, you'll need to update the hosts configuration in your Algolia client. You can follow the guide here - https://www.algolia.com/doc/libraries/sdk/v1/customize#use-a-custom-host
This approach gives you more control over request handling, logging, and routing, while still leveraging Algolia's infrastructure under the hood.