Question

Instead of creating a domain proxy, can I just make an ALIAS DNS record that points to api2.amplitude.com?

  • 14 March 2024
  • 0 replies
  • 24 views

My team needs to set things up so that network requests to Amplitude from our site go to a subdomain of our site’s domain. So e.g. to “amplitude.mydomain.com” instead of “api2.amplitude.com”.

I see the documentation for setting up a domain proxy: https://www.docs.developers.amplitude.com/analytics/domain-proxy/

But we don’t actually need any of the features that come with setting up our own server to be the proxy; we just need Amplitude to work for certain users when they allowlist “*.mydomain.com”, without them having to also separately allowlist Amplitude’s domain.

Instead of having to set up and maintain our own proxy infrastructure, is it supported for us to just create a DNS ALIAS record that points “amplitude.mydomain.com” to “api2.amplitude.com”, so the requests still go directly to Amplitude servers, but via our custom domain?


0 replies

Be the first to reply!

Reply