The folders on /var/www display random characters like this: e8aad3a1-345c-41fb-90ce-ad75aef07819
If we have 10-20 sites there, it's a pain to know which domain belongs to its folder
Is there a command or something to display the domain?
Thanks
ls -ls This will will the owner.. which should be close to the domain name.. there are other places to "cross-reference" this.. but for me ls -ls is usually enough.
@xyzulu has the best solution at the moment. We are working on a CLI utility which, given a path, can tell you all the domains mapped to it.