How do I server multiple domains from the same directory and codebase without my configuraton breaking when apache.conf is overwritten?
- by neokio
I have 20 domains on a VPS running cPanel. One public_html is filled with code, the remaining 19 are symbolic links to that one. (For example, assets is a directory within public_html ... for the 19 others, there's a symbolic link to that directory in each each accounts public_html dir.)
It's all PHP / MySQL database driven, with content changing…