Show Posts

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.

Messages - Netino

Pages: [1] 2 3 ... 15
E-Mail / Re: CWP Email Issue
« on: April 21, 2019, 11:30:40 PM »
So you are having problem with Gmail, not with CWP.
In general, any unknown sender can be classified as spam in Gmail.
Don't forget if your server are new, it doesn't still a reputation in internet, specially in mail blacklists, as a good mail sender.

CentOS 7 Problems / Re: error 403 Forbidden
« on: April 20, 2019, 04:24:33 AM »
Chrome redirect automatically from 'http' to 'https'.
So, your site *must* be responsive too in 'https'.
This is the case..??

E-Mail / Re: CWP Email Issue
« on: April 19, 2019, 09:48:27 PM »
What tool are you using to filter spam..??


CentOS 7 Problems / Re: error 403 Forbidden
« on: April 19, 2019, 08:22:47 PM »
Error 403 is an webserver level error, just make sense to search in webserver logs.
Might be you looking at the wrong logs.
It may be that a wrong configuration can send requests to other areas, thus logging into different file logs.

If in apache virtual hosts are not being logged events, the first bet is to search in main server error log, at '/usr/local/apache/logs/error_log'.

As you are mentioning to use nginx, you must to check if the events are being logged in nginx logs.
You must check where in your configuration, normally in '/etc/nginx/nginx.conf', and the error log in '/var/log/nginx/error.log'.
Might be too your configuration is not logging events in the severity is wish.
Check the directive "error_log" in the configuration file.


Apache / Re: Could not Restart Apache
« on: April 18, 2019, 04:06:41 AM »
CentOS7 have a different way to logging events, due to using systemd, mainly to start/restart/stop program events.

You must post here the output of the command:
Code: [Select]
# systemctl status httpd.service


SSL / Re: File that points to CWP SSLCert
« on: April 15, 2019, 12:42:27 AM »
Sorry if I really do not know if I understand your question, but the answer is:
Code: [Select]


SSL / Re: SSL on webpanel
« on: April 15, 2019, 12:36:25 AM »
Yes, but for the main host you will not need to install from CWP.
Just put in place the files:
Code: [Select]

In my case these files don't exist, I just create a symbolic link to the real files.
Code: [Select]
/etc/pki/tls/certs/hostname.bundle -> /etc/pki/tls/certs/host1.panel.xwy.bundle
/etc/pki/tls/certs/hostname.crt -> /etc/pki/tls/certs/host1.panel.xwy.cert
/etc/pki/tls/private/hostname.key -> /etc/pki/tls/private/host1.panel.xwy.key

To create the symbolic links:
Code: [Select]
ln -s /etc/pki/tls/certs/host1.panel.xwy.bundle /etc/pki/tls/certs/hostname.bundle
ln -s /etc/pki/tls/certs/host1.panel.xwy.cert /etc/pki/tls/certs/hostname.crt
ln -s /etc/pki/tls/private/host1.panel.xwy.key /etc/pki/tls/private/hostname.key

SSL / Re: SSL on webpanel
« on: April 14, 2019, 04:18:58 AM »
AutoSSL is for Letsencrypt certificates.
If you have already a Comodo Certificate, supposedly you must put the (file with the) cert in the "/etc/pki/tls/certs/" and put the key in "/etc/pki/tls/private/", and access CWP -> Webserver Settings -> Tab "Install From Server", and choose the file certificate, and user and the domain, and click in install.


Apache / Re: HSTS in CWP
« on: April 14, 2019, 04:09:57 AM »
In Apache, add the following parameter in the VHOST site:
Code: [Select]
Header add Strict-Transport-Security "max-age=15768000"


Code: [Select]
Strict-Transport-Security: max-age=15768000; includeSubDomains

The max-age parameter sets the browser the validity period in seconds that HTTPS will be forced, in which case it will be 6 months. The "includeSubDomains" parameter indicates that this rule will apply to subdomains.


How to / Re: How do I get rid of Netdata?
« on: April 13, 2019, 11:18:20 PM »
Netdata apeared in my server just by clicking on CWP -> Graphs -> Netdata.
I did not installed.
Check if this was not your case.


Check the following site:

Perhaps your site is being attacked, and answering like that.
So, you would need adapt the mentioned '/fc2/' directory to your custom directory.


It's not possible to precisely to define "the most memory efficent configuration for Shared Wordpress Hosting" in any server.
You can have several specific needs.
As much memory your would you have on your server, it's better.

But you can optimize other areas.
For example, I installed Rspamd.
I could to save 1 Gb memory.
So I disable the amavisd, policyd-spf, opendkim, and spamassassin (I think it's a greedy memory eater).
I'm suspect, because I posted a Rspamd howto in this forum.

But with no one optimizations in my customer's sites, I'm running several Wordpress sites, in two VPS servers with exactly identical configuration as you, and I have no problems other than normal security worries.


Apache / Re: Stats shows visitors from my own ip
« on: April 03, 2019, 01:54:49 AM »
So, you can create the file /usr/local/apache/conf.d/rpaf.conf (change [YOUR-IP-ADDRESS] with the correct information) with the following content:
Code: [Select]
<IfModule !mod_rpaf.c>
LoadModule rpaf_module modules/
RPAF_Enable On
RPAF_SetHostName On
RPAF_SetPort On
RPAF_ForbidIfNotProxy Off
RPAF_Header X-Forwarded-For


So, make a ssh connection to your server, and run:
Code: [Select]
# netstat -nat | grep 2030

Pages: [1] 2 3 ... 15