Hello,
I use the cPanel platform. I point all domains into the folder
/home/hc/public_html/domain/
In the "domain"-folder I call a PHP-file via htaccess that find the exact file-folder in MySQL.
A hypothetical example:
1) mydomain.com pointing into /home/hc/public_html/domain/
2) htaccess calls a PHP-file in the "domain" folder and find mydomain.com in MySQL.
3) MySQL returns "/home/hc/public_html/www.mydomain.com/" (which is the exact file-folder mydomain.com).
4) I would like to have htaccess or PHP to understand that it (programmatically) to create the root folder on to be "/home/hc/public_html/www.mydomain.com/" instead of "/home/hc/public_html/domain/"
I've tried about 5745872348 different combinations without finding the right one, so now I ask for help.
Keep my happy :-)
HappyCoder