I’ve built an app in PHP that runs on Apache.
I need to be able to add vhosts on the fly so I would make my app write to
sites-enabled and then reload Apache.
The only problem is, I have no choice but to use Plesk on this server as well. What would I edit on Plesk in order to be able to add vhosts on the fly without having Plesk overwrite it or cause any problems?
I’ve never had the chance to dig into Plesk too much so any guidance would be appreciated.