I need to add a virtualhost to httpd.conf, but when i add it, the distiller goes through with the operation, then i rebuild, and my change is gone!
I need to add a virtualhost to httpd.conf, but when i add it, the distiller goes through with the operation, then i rebuild, and my change is gone!
The distiller is for distilling changes to existing configurations that cPanel & WHM itself creates and maintains. If you want to add a new VirtualHost altogether, the distiller can't help you there.
To add a brand new VirtualHost, your best bet is going to be to add it to either the pre-VirtualHost include file or post-VirtualHost include file. This will place your VirtualHost entry either before all of cPanel's generated VirtualHosts or after all of cPanel's generates VirtualHosts respectively.
The include files can be edited via:
WHM -> Apache Configuration -> Include Editor
They're located at /usr/local/apache/conf/includes/ if you'd rather modify them directly.
cPResources: Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Brian, Support Manager
Submit a ticket | Check an existing ticket
Nope, Didnt work :/
What are you trying to add specifically? Please provide what is being added and the purpose of what is being added, so we know what you are attempting to do.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support
Submit a ticket | Check an existing ticket