This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
16
CentOS-WebPanel GUI / Re: Email ids and forwards
« on: April 12, 2025, 12:52:04 PM »
Just as it refers to. Add the forward address in as one of the comma separated list of emails to be forwarded to.

https://prnt.sc/3Scr75OKwP5n
https://prnt.sc/3Scr75OKwP5n
17
MySQL / Re: howto export all databases and users with privel
« on: April 12, 2025, 04:51:04 AM »
mysqldump --system=users --insert-ignore --all-databases > alldatabase.sql
More info can be found here:
https://dba.stackexchange.com/questions/299650/mysqldump-all-database-including-user-password-and-grants
More info can be found here:
https://dba.stackexchange.com/questions/299650/mysqldump-all-database-including-user-password-and-grants
18
Information / Re: Goaccess stopped working
« on: April 10, 2025, 03:34:36 PM »Code: [Select]
/usr/local/apache/domlogs/*.log { <<< Tells logrotate all files ending in .log in the domlog directory
missingok <<< continue log rotation without reporting any error if any of the specified log files are missing.
notifempty <<< ensures that log files are not rotated if they are empty. If a log file is empty, it won't trigger rotation.
sharedscripts <<< ensures that the commands or scripts specified in the prerotate or postrotate directive are executed only once, regardless of the number of log files being rotated.
daily <<< Run every day
rotate 7 <<< Keep 7 days of logs
postrotate <<<< reload httpd once the logs are rotated
/sbin/service httpd reload > /var/log/httpd-rotate.log 2>&1 || true
endscript
compress <<<< GZIP the log files to save space
}
19
DNS / Re: My webpanel as DNS server
« on: April 10, 2025, 03:29:52 PM »Hi, thank you by your recommendation. But if I want to use my webpanel server to be my own dns server how can I do it please?
Your first requirement is to setup your own nameservers. Most Registar's call these either GLUE records or HOST records. You need to log in and create at least 2 records (Ex ns1 and ns2).
Then change the Nameservers in CWP to use your custom nameservers
I highly recommend a second server somewhere to host the second DNS server.
20
Other / Re: Paid Support Sabotaged My Production Server – Urgent Escalation Request 487931
« on: April 09, 2025, 10:55:24 AM »
If you log in via shell, can you simply type "mysql" and get access. Or do you get the same error.
try /scripts/mysql_pwd_reset
Set the root password to the one that in db_conn.php
try /scripts/mysql_pwd_reset
Set the root password to the one that in db_conn.php
21
Other / Re: Paid Support Sabotaged My Production Server – Urgent Escalation Request 487931
« on: April 09, 2025, 04:30:00 AM »
The other option, is to change the root password for the user to the one in db_conn.php, as this will be what all of the other applications use.
22
Other / Re: Paid Support Sabotaged My Production Server – Urgent Escalation Request 487931
« on: April 09, 2025, 04:28:54 AM »
Can you log into mysql with root. If so, please do the following.
cat /root/.my.cnf Copy everything after password=
nano /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
Change that password to the one you copied from .my.cnf
This should get your user panels up and running.
cat /root/.my.cnf Copy everything after password=
nano /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
Change that password to the one you copied from .my.cnf
This should get your user panels up and running.
23
CentOS Configuration / Re: My newly installed server gives 500 internal error
« on: April 05, 2025, 08:55:37 PM »
tail -n 50 /usr/local/apache/domlogs/{domain}.error.log
24
Addons / Re: WordPress Management Tool (i.e. WP-Toolkit)
« on: March 12, 2025, 05:06:18 AM »
CWP uses Softaculous for wordpress management. Not sure what WP-Toolkit adds that can't be done in the wordpress admin section.
25
SSL / Re: Disable AutoSSL on certain user accounts
« on: March 11, 2025, 01:01:53 AM »
log in via ssh
acme.sh --config-home /root/.acme.sh/cwp_certs/ --list
find the cert you want to stop letsencrypt
acme.sh --config-home /root/.acme.sh/cwp_certs/ --remove <domain>
Then install the paid certificate.
acme.sh --config-home /root/.acme.sh/cwp_certs/ --list
find the cert you want to stop letsencrypt
acme.sh --config-home /root/.acme.sh/cwp_certs/ --remove <domain>
Then install the paid certificate.
26
SSL / Re: Disable AutoSSL on certain user accounts
« on: March 10, 2025, 06:37:28 PM »
admin/index.php?module=ssl_certificate
Install their paid certificate through there, and AutoSSL should disable.
Install their paid certificate through there, and AutoSSL should disable.
27
SSL / Re: setup SSL on clientdomain.com:2083
« on: March 06, 2025, 05:52:03 PM »
cwp proxies clientdomain/panel to 2083. To access by port, you have to use the hostname.
28
Apache / Re: Job for httpd.service failed because the control process exited with error code.
« on: March 06, 2025, 05:35:20 PM »
It looks like httpd was stopped manually. Not on an error. Please try "systemctl start httpd" If it throws and error, then immediately do "journalctl -xeu httpd" and post it.
29
Suggestions / Re: pause a domain
« on: March 05, 2025, 07:53:01 PM »
Addon domains can be converted in the Admin Panel (Domains -> List Domains) Click on the image to covert it to a new account.
As for the main domain, you can always not "Suspend" the main account, but update the config files via SSH to point that account to the suspended page, while leaving the addon-domains to the main account. Most people don't suspend domains, but the hosting of an account. Generally if someone doesn't pay for their domain name, it becomes inactive automatically.
As for the main domain, you can always not "Suspend" the main account, but update the config files via SSH to point that account to the suspended page, while leaving the addon-domains to the main account. Most people don't suspend domains, but the hosting of an account. Generally if someone doesn't pay for their domain name, it becomes inactive automatically.
30
Apache / Re: Job for httpd.service failed because the control process exited with error code.
« on: March 05, 2025, 02:33:17 AM »
Do you have ssh access to the server? If so, please run the command above to find the error.
