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 - josephgodwinke

Pages: 1 [2] 3 4 ... 6
16
Code: [Select]
/usr/local/apache/bin/httpd -t -D DUMP_MODULES to check the modules compiled in your apache

Check if it is enabled in
Code: [Select]
Apache Settings->Apache Configuration to edit your conf
Code: [Select]
usr/local/apache/conf/httpd.conf
If not enable it then run the command
Code: [Select]
service httpd restart


17
SSL / Re: Disable AutoSSL (LetsEncrypt)
« on: July 16, 2021, 09:18:32 AM »
Using the
Code: [Select]
module=ssl_certificate select the
Code: [Select]
configure tab

Uncheck
Code: [Select]
Activate option in Auto Renewals group of config options

You can also uncheck
Code: [Select]
Automatic SSL generation

18
Delete the account in the new server to start all over again.

Make sure to check dns zones if that zone exists before starting a new migration

19
CentOS 7 Problems / Re: errors after update
« on: July 09, 2021, 04:38:20 AM »
Log into your server using SSH as root and write this command
Code: [Select]
sh /scripts/update_cwp
After that check the CWP logs by running
Code: [Select]
vi /usr/local/cwpsrv/logs/
Post those results here

20
Addons / Re: How To install .Netcore 5
« on: July 09, 2021, 04:35:23 AM »
I have always used this article to setup .NET core apps - https://www.vultr.com/docs/how-to-deploy-a-net-core-web-application-on-centos-7

21
SSL / Re: Auto SSL DNS does not point to server.
« on: July 09, 2021, 04:33:22 AM »
NS records for the domains same as the server's NS records?

22
Log in as CWP User in the account the website is installed. Open PHP Selector and assign the PHP version that you built with the extensions.

23
First update CWP -
Code: [Select]
sh /scripts/update_cwp
Rebuild apache from here -
Code: [Select]
module=apache_builder

Open this module
Code: [Select]
module=file_editor&file=/usr/local/apache/conf/httpd.conf
Ensure all listed apache modules are active such as
Code: [Select]
LoadModule deflate_module modules/mod_deflate.so if a module has a # infront if it is treated as inactive

Code: [Select]
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so

Restart Apache -
Code: [Select]
service httpd restart OR in CWP dashboard as root restart all CWP Services

Post results of
Code: [Select]
/usr/local/apache/logs/error_log and
Code: [Select]
/usr/local/apache/conf/httpd.conf

24
CentOS 7 Problems / Re: Too many 301 redirects
« on: July 02, 2021, 08:45:37 PM »
Have you checked if the domain is set to redirect - https://docs.control-webpanel.com/docs/user-guide/domains/redirect

25
CentOS-WebPanel Bugs / Re: Mail users not displaying
« on: July 02, 2021, 08:42:05 PM »
Post here the last 20 lines of
Code: [Select]
/usr/local/cwpsrv/logs
Have you updated CWP
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/update_cwp

26
Code: [Select]
chown root:pure-ftpd /var/run/pure-ftpd.pid
chmod 755 /var/run/pure-ftpd

27
FTP / Re: Enabling FTPs or FPTes
« on: June 18, 2021, 01:23:32 PM »
post the contents of your pure-ftpd.conf

29
FTP / Re: Enabling FTPs or FPTes
« on: June 17, 2021, 10:01:43 AM »
No for pureftpd just
Code: [Select]
vi /etc/pure-ftpd/pure-ftpd.conf and add the changes below:


Code: [Select]
# This option accepts three values:
# 0: disable SSL/TLS encryption layer (default).
# 1: accept both cleartext and encrypted sessions.
# 2: refuse connections that don't use the TLS security mechanism,
#    including anonymous sessions.
# Do _not_ uncomment this blindly. Double check that:
# 1) The server has been compiled with TLS support (--with-tls),
# 2) A valid certificate is in place,
# 3) Only compatible clients will log in.
TLS                          2
# Cipher suite for TLS sessions.
# The default suite is secure and setting this property is usually
# only required to *lower* the security to cope with legacy clients.
# Prefix with -C: in order to require valid client certificates.
# If -C: is used, make sure that clients' public keys are present on
# the server.
# TLSCipherSuite               HIGH
CertFile                     /etc/ssl/private/pure-ftpd.pem
CertFileAndKey               "/etc/pure-ftpd.pem" "/etc/pure-ftpd.key"
# Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
# By default, both IPv4 and IPv6 are enabled.
# IPV4Only                     yes
# Listen only to IPv6 addresses in standalone mode (i.e. disable IPv4)
# By default, both IPv4 and IPv6 are enabled.
# IPV6Only                     yes

30
The last command is a mysql command open mysql from ssh using command
Code: [Select]
mysql --user=root mysql

Pages: 1 [2] 3 4 ... 6