0

How to make subdomains pointing to files

R_O 5 years ago updated 5 years ago 0

Hi,

I am new in Ajenti and I want to create subdomains pointing to files. I know it is easy to make them pointing to a directory, but I do not know what to make by the GUI and what directly on the configuration files and which ones.

What I need is If < example.com > opens < /var/www/example.com/html/index.html >

How do I get this?:

< file1.example.com > opening < /var/www/example.com/html/file1.php >

< file2.example.com > opening < /var/www/example.com/html/file2.php >

< file99.example.com > opening < /var/www/example.com/html/file99.php >

Thank you