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.


Topics - docop

Pages: [1]
1
SSL / nginx - php-fpm don't resolve https, stay in http with autossl
« on: April 10, 2019, 08:13:35 PM »
Hi
 So i've check a lot for the autossl and i still can't instal properly for 2 domain.
I have my domain.com reg with my registrar with the proper dns and a A record pointing to cwp ip.
And the second nameserver is set to ns2.centosweb... and the ip being 127.0.0.0
both ns resolve to the correct ip of their own.
in the centos free dns, i put mydomain.com and the ip of the cwp server. Is set at active.

2 user created, i can log in http directly to the sample centos webpage.

When i check the domain1.com , over the centos ns, it give me :
resolves to  ( cwp ip.)
    
Server Type: nginx/1.14.2
    
No SSL certificates were found on domain1.com. Make sure that the name resolves to the correct server and that the SSL port (default is 443) is open on your server's firewall.

 and in leafdns, it give : parent nameservers do not have your nameservers listed

 Port 443 is open in-out.

For domain1.com i did install autossl: Webserver / ssl certificates, Autossl.
webserver / webserver Domain Conf:
 config: nginx-) php-fpm , nginx default=php-fpm , nginx def vhost: force-https
. All said ok. But i cannot reach the https page.

///
And on the main domain2, with proper result with proper dns into leafdns.com result.
I can go on the centos test page html.
i did also install fine autossl, and in
webserver / webserver Domain Conf:
 config: nginx-php-fpm , nginx default=php-fpm , nginx def vhost: force-https
 or put a default, or put force-http2.   And click the rebuilt page at the bottom.

. All said ok. But i cannot reach the https page. going to domain.com stay only in http.
and https://domain.com  , give cannot reach.

Do i have to put ngins -) apache -) php-fpm.. or only nginc-php-fpm... ?

 I just want to point all web directly to https. I should have at least 1 working in ssl..

Thanks for tips.

2
Postfix / postfix cannot install dkim -unit not found
« on: November 08, 2017, 03:10:55 PM »
Hi

 I got problem for installing dkim service. I go on Postfix manager, click on the add dkim and spf.. rebuild. And it result into :
Failed to restart opendkim.service: Unit not found.

 So is there a package missing ? I was just a plain install and nothing change over the main cwp install. running on : CentOS-7-64bit.
How to install it manually ? or ..

Thanks in advance

3
Installation / Nothing change but can't log anymore 2030-2031
« on: March 03, 2016, 06:01:30 PM »
Hi

 So it's my third server that were install and suddenly just stop working. I can't access it anymore over port 2030 or 2031. All 3 got different setup on nameserver but all run fine for about 1-2 month let say. Running with a wordpress on each.
 But now got another one defective. Why is that?
I can log with ssh over putty on port 22

service iptables stop
 :give 3 OK.

and then wrote:
service cwpsrv restart

Stopping cwpsrvd:                                          [FAILED]
Starting cwpsrvd: cwpsrvd: apr_sockaddr_info_get() failed for myserver.com
cwpsrvd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName  [FAILED]
     
I check the port with :
netstat -plunt
and got
 10025,3306,587,465,21,22,8891,783

I check the config on : /etc/csf/csf.conf
but all port look fine as :
allow incoming tcpÈ 20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031
allow outgoing : 20,21,22,25,53,80,110,113,443,2030,2031,587

I also add the 2030 port manually, :
iptables -I INPUT -p tcp --dport 2030 -j ACCEPT

I check over a port scanner webpage and basically I got a result just on port 21 and 25 but don't work... And It was already there at first, as it was working for over a month.

So have no idea.. ?

Thanks

4
Information / Vcpu recommended option tested
« on: February 01, 2016, 06:53:36 PM »
Hi

 I would like to know what will be the faster and more reliable server to sustain any webattack or webload... Here is the option :

1-  4 vCpu with 6gig ram
2-  8 vCpu with 6gig ram
3-  4 vCpu with 7gig ram
4-  2vCpu with 6gig ram

 Some info look to tel me an high count of vCpu might cause issues.. But so far, with test :
a server running 1vCpu with 3g ram  run faster than a system of 3vCpu with 1g ram.
 I also try to install over a 8vCpu, but installer fail, I don't know if it fail due to link of the server or the scripts installer.

So far a CWP install took about 5hr to deploy on a vps of 2vcpu with 2gig ram. And the 4vCpu of 6g ram took around 2hr

Thanks for input

5
E-Mail / What dns zone config look like with dkim and spf
« on: January 27, 2016, 03:56:21 PM »
Hi

 So if I do a fresh install with a domain name working accessing my site, without touching the email setting I can received mail from everywhere, but can't send. When I config Dkim et spf, did the full rebuild, restart all ok, fully active and green on the domain name used. I now can only send mail, that goes to spam in gmail and received in less secure mail.

Here is the dns zone record file with the config :

http://postimg.org/image/4znvwadif/

 Is this config are ok ? perhaps something missing..

And what should look like the dns at the domain provider :
i got :
name  / type A  / TTL  / target

 ----    /    A     / 1440 / 45.62.1...
WWW  /    A     / 1440 / 45.62.1...
MAIL   /    MX    / 1440 / 45.62.1....
 ---     /   TXT    /  1440  / v=spf1 a mx ip4:45.62.1....

 I see some place that's a mx.yourdomain .. but do i need to add a prefix mx. in front of the domain into the DNS zone file of CWP ?

Many thanks

Pages: [1]