They will need to create an A record in their DNS to point to the IP address of your application server. You need to know which domain they pointed to your server and register it against your account, as well as configure your web servers in such a way as to forward requests from other domains to your application. You can then use the request object to search for your account in your application controller.
source share