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.
166
DNS / Re: all my websites went offline
« on: July 03, 2022, 02:08:54 AM »
Your DNS server crashed.
167
E-Mail / Re: I can Send BUT can not receive EMAILS
« on: June 29, 2022, 02:01:39 AM »
MX records for your domain tell mail where to route
168
Apache / Re: Nginx configure
« on: June 26, 2022, 04:08:49 AM »
see if the following corrects the issue:
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh|webp)$ {
default_type "text/html";
root /home/example/public_html;
expires max;
try_files $uri $uri/ @backend;
}
location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh|webp)$ {
default_type "text/html";
root /home/example/public_html;
expires max;
try_files $uri $uri/ @backend;
}
169
Apache / Re: Nginx configure
« on: June 18, 2022, 07:30:10 PM »
If html is displayed as source code, then the mime type for nginx is messed up. Check for the default mime types and make sure it's not set to text/plain
170
CentOS-WebPanel Bugs / Re: htop vs cwp pro performance which one is correct?
« on: June 18, 2022, 07:27:50 PM »
htop is more accurate. CWP is using PHP, which may have it's own processor/memory limits so it may be a false report on the dashboard. Load Averages is what I would pay attention to, and not a graph
171
Apache / Re: Nginx configure
« on: June 17, 2022, 02:34:27 AM »
if you mean that it's a PHP page, you need FPM for nginx to use php.
172
CentOS Configuration / Re: 403 error on facebook
« on: June 16, 2022, 12:43:04 AM »
check the modsecurity log to find out the rule number that is causing the issue. Then put an exemption into modsecurity.
173
E-Mail / Re: Mail sending Issue : connect to alt1.aspmx.l.google.com: Network is unreachable
« on: June 12, 2022, 05:03:23 AM »
Don't use GMAIL as your admin email address. After about 100 emails a day, they start reporting your server as a spam server and start blocking it. There is no way around it. Setup an email account on your server, and in gmail, have it check the pop/imap of the admin email account to receive them in gmail.
174
E-Mail / Re: Roundcube update not working due to php version of cwpsrv
« on: June 04, 2022, 04:26:29 PM »
Cwpsrv has it's own fpm. the service is called cwpsrv-phpfpm and cwp-phpfpm They use /usr/local/cwp/php71 (It's actually 7.2). I'm working on an update for you, but work 60 hours a week, so not a lot of time
175
CentOS-WebPanel GUI / Re: Graphs issues & Inode limit
« on: June 01, 2022, 04:37:26 AM »
The negative values is most definitely some sort of bug. As for Inode limites, you have to have quota's enabled for them to take any effect.
176
MySQL / Re: CWP CentOS 7 installer with MySQL without MariaDB
« on: May 31, 2022, 07:00:56 AM »
CWP requires MariaDB. You could however install MySQL in a docker or lxc enviroment.
177
Backup / Re: Restore a backup of an account
« on: May 27, 2022, 03:40:54 AM »
admin/index.php?module=restore_backups
or
/admin/index.php?module=backup_manager2
depending on which backup system you use
or
/admin/index.php?module=backup_manager2
depending on which backup system you use
178
DNS / Re: going crazy please help!
« on: May 25, 2022, 09:41:03 PM »
Create a new nginx config file in /etc/nginx/conf.d/vhosts/(domainname).conf
the following should work. Of course you can add the appropriate lines to add SSL options
the following should work. Of course you can add the appropriate lines to add SSL options
Code: [Select]
server {
listen (LAN IP of this computer):80;
server_name (domainname) www.(domainname)
location / {
add_header X-Cache "HIT from Backend";
add_header Strict-Transport-Security "max-age=31536000";
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
proxy_pass http://(Private IP of other server):80;
include proxy.inc;
}
location ~ /\.ht {deny all;}
location ~ /\.svn/ {deny all;}
location ~ /\.git/ {deny all;}
location ~ /\.hg/ {deny all;}
location ~ /\.bzr/ {deny all;}
location /.well-known/acme-challenge {
default_type "text/plain";
alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
}
location /.well-known/pki-validation {
default_type "text/plain";
alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
}
}
179
CentOS 7 Problems / Re: Cron Not Working, Error "No such file or directory"
« on: May 25, 2022, 09:13:14 PM »
Please run the following script on your server
Code: [Select]
cd /home && for D in *; do crontab -lu $D | sed '/SHELL=/d' | crontab -u $D -; done
180
E-Mail / Re: Email Service With Receiving and Sending Problems
« on: May 25, 2022, 08:49:45 PM »
Seeing as it's intermittent, I'm going to go out on a limb and say you have issues with either space, or IOstreams. I say this because of the "Failed to write" error. Check if user limits are set on the drive.