Directory alias to get files from other domain

Hi, I need that any call to* get the files from domain1

This is for share server resources, like images, between two differents domains (domain1 and domain2) for a same Hestia CP user (userx).

I’m trying to modify /home/userx/conf/web/domain2/apache2.ssl.conf adding something like this, but doesn’t works:

Alias /media/ /home/userx/web/
<Directory /home/userx/web/>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride all

Any idea?