I think Webmin makes certain assumptions about how Apache is configured that cPanel may have changed.

For example, the way cPanel creates the Apache config is by combining all the per-site configuration into a single config file.

Also, could your expired cPanel trial still be rewriting the configuration after webmin makes changes?
- The official word is that the only way to truly remove cPanel is to reformat. -
You need to check how Webmin is trying to create/manage your vhosts. I think on Ubuntu it uses the built-in sites-available/-enabled system, but I don't know about CentOS/RH.

On Mon, Aug 19, 2013 at 11:36 AM, CompsDoc Nathan <nathan@compsdoc.com> wrote:
I had cpanel trial installed then it expired and then I installed webmin on a VPS server. For some reason all my virtual servers I create in apache in webmin do not work and all domains give me a default cpanel page error saying my domain is not set up. I am guessing having cpanel installed screwed up my apache. How do I add domains/virtual servers to my apache through webmin now ? If I look at the apache config it contains lines
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES. which cpanel generated! I am guessing cpanel does something else besides editing the apache config files that webmin does not do which is why it is not working?

Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to