Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: cwp on December 30, 2018, 06:14:46 PM

Title: named_conf.conf is not used when adding domain
Post by: cwp on December 30, 2018, 06:14:46 PM
I have tested and it looks like for named CWP curently dosn't use template for named.
I have changed: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/conf_templates/named_conf.conf
and named_tpl from setting table in mysql but CWP create domain without my changes

It worked before last update. Can some one fix it ?
Title: Re: named_conf.conf is not used when adding domain
Post by: Netino on January 03, 2019, 03:43:37 AM
This is an example of the problem of CWP developers, failing to publish a changelog.
We simply don't know what was changed, at least in features, and if you have customizations, you are lost.

Seems that file now is unused, due to that config had changed to be made at database level.
Check youself, acessing the phpMyAdmin, database 'root_cwp', table 'settings', field 'named_tpl', have a identical configuration of that template.

Regards,
Netino