ARI answering under 2 urls

Perhaps I should rephrase this.

My freepbx setup domaina.com/admin & domaina.com/recordings work fine

domainb.com/recordings work fine it is a complete copy of ARI. There is no copy in this directory of the admin folder nor symbolic link.

what would I have to modify in freepbx or ARI to have domainc.com on top of domainb.com ?

I already have it working AFAIK with bind and apache.

Thanks!

Serveralias in your apache conf would do the trick, or a virtual host for only ari:

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/recordings
    ServerName ari.domainb.com
    ServerAlias ari.domainc.com
    ErrorLog logs/ari-error_log
    CustomLog logs/ari-access_log common

    <directory /var/www/html/recordings>
        Order Allow,Deny
        Allow from all
    </directory>
</VirtualHost>