Author Topic: A few Issues Apache/Nginx, AutoSSL, Hostname and IP Address  (Read 392 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
A few Issues Apache/Nginx, AutoSSL, Hostname and IP Address
« on: August 12, 2020, 09:16:04 PM »
Hi Everyone,
I am using CWP with a fresh install after activating the Apache/Nginx server setup i always get the same error with Nginx failing

Quote
Aug 12 21:40:50 server systemd: Starting Web server Apache...Aug 12 21:40:51 server apachectl: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80Aug 12 21:40:51 server apachectl: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80Aug 12 21:40:51 server apachectl: no listening sockets available, shutting downAug 12 21:40:51 server apachectl: AH00015: Unable to open logsAug 12 21:40:51 server systemd: httpd.service: control process exited, code=exited status=1Aug 12 21:40:51 server systemd: Failed to start Web server Apache.Aug 12 21:40:51 server systemd: Unit httpd.service entered failed state.Aug 12 21:40:51 server systemd: httpd.service failed.

Second Issue AutoSSL

When even i try to setup a domain with AutoSSL it sets it up but with the internal network ip and when you check the SSL Certificate it says the mail server instead of the domain name.

Hostname

How do you successfully setup the hostname with Letsencrypt i have seen a few guides but it just ended up screwing up my CWP and i had to reinstall it a few times. If someone has am easy way of setting it up so it does not interfere with the CWP setup would be much appreciated.

Thanks

Bossmanuk

Offline
*
Re: A few Issues Apache/Nginx, AutoSSL, Hostname and IP Address
« Reply #1 on: August 12, 2020, 09:27:49 PM »
kill all apache/nginx processes and then rebuild webservers.

Hostname ssl is automatically installed and configured when you do the change/or save of the hostname using cwp.admin hostname module.

for ssl you need to check ssl manager in cwp.admin
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: A few Issues Apache/Nginx, AutoSSL, Hostname and IP Address
« Reply #2 on: August 13, 2020, 07:35:12 AM »
Hi Studio4host,
This worked thank you

Quote
kill all apache/nginx processes and then rebuild webservers.

With regards to hostname it seem to be generating a self signed certificate only, i would like an autossl if possible?

Thanks

Offline
*****
Re: A few Issues Apache/Nginx, AutoSSL, Hostname and IP Address
« Reply #3 on: August 16, 2020, 07:23:13 PM »
Check log file /root/.acme.sh/acme.sh.log and you will see the problem.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services