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.
61
Installation / Re: PDO_dblib
« on: October 15, 2024, 07:31:41 PM »
Install freetds-devel using:
then download the php version you want to compile the library for:
https://www.php.net/downloads
extract files from the downloaded archive, then CD to:
create file pdo_dblib.ini in /opt/alt/phpXX/etc/php.d/ and put the line:
Adopt the instructions according to your paths and php version.
Code: [Select]
dnf install freetds-devel freetds freetds-libs
then download the php version you want to compile the library for:
https://www.php.net/downloads
extract files from the downloaded archive, then CD to:
Code: [Select]
php-X.X.X/ext/pdo_dblib
/opt/alt/phpXX/usr/bin/phpize
./configure --with-php-config=/opt/alt/phpXX/usr/bin/php-config --with-pdo-dblib
make
make install
create file pdo_dblib.ini in /opt/alt/phpXX/etc/php.d/ and put the line:
Code: [Select]
extension=pdo_dblib.so
into the file.Adopt the instructions according to your paths and php version.
62
DNS / Re: Format issue with dots
« on: October 15, 2024, 07:19:25 PM »
There is no any bugs or problems. You MUST add the dot at the end of the domain/subdomain in the DNS records in order to recognize such domains/subdomains as FQDN (fully qualified domain name). In case you don't add the dot then it is recognized as unqualified domain name and the value from $ORIGIN is added to such domain/subdomain. It is how the DNS system works.
64
DNS / Re: Help with rDNS
« on: October 14, 2024, 03:23:28 PM »
Log into your OVH account and you will be able to update the RDNS zone for the IP there. In case you need more detailed instructions then I recommend you to contact OVH to get assistance with their panel.
65
Postfix / Re: connection refused to a domain on another virtual machine
« on: October 13, 2024, 09:34:50 PM »
It looks like the problem is caused by misconfiguration (invalid A,MX,CNAME records) of the DNS zones of the domains and/or by DNS resolvers on your VMs.
So my recommendation is to check the DNS zones and resolvers on both VMs.
So my recommendation is to check the DNS zones and resolvers on both VMs.
66
DNS / Re: Help with rDNS
« on: October 12, 2024, 08:20:53 PM »
1. On your local PC run:
ping XXX.DOMAIN.COM
where XXX.DOMAIN.COM is the hostname of your server. You should get the primary IP of your server in output.
If you get another IP or nothing then check the DNS zone of your domain and make sure the DNS zone has the A record for XXX.DOMAIN.COM and points it to the correct IP.
2. Access your server over SSH as root and run:
The last line of output should show something like:
where XXX.DOMAIN.COM is the hostname of your server.
If you get something else then check the mail server config and make sure you specified the correct hostname.
3. Run:
in shell on your server . The output should show the hostname of your server.
Do you get the hostname of your VPS ? If not then contact the datacenter support team where your server is located and ask to update the RDNS for the primary server's IP to XXX.DOMAIN.COM
ping XXX.DOMAIN.COM
where XXX.DOMAIN.COM is the hostname of your server. You should get the primary IP of your server in output.
If you get another IP or nothing then check the DNS zone of your domain and make sure the DNS zone has the A record for XXX.DOMAIN.COM and points it to the correct IP.
2. Access your server over SSH as root and run:
Code: [Select]
telnet localhost 25
The last line of output should show something like:
Code: [Select]
220 XXX.DOMAIN.COM ESMTP Postfix
where XXX.DOMAIN.COM is the hostname of your server.
If you get something else then check the mail server config and make sure you specified the correct hostname.
3. Run:
Code: [Select]
dig +short -x XXX.XXX.XXX.XXX
(XX.XXX.XXX.XXX - the primary IP of your server)in shell on your server . The output should show the hostname of your server.
Do you get the hostname of your VPS ? If not then contact the datacenter support team where your server is located and ask to update the RDNS for the primary server's IP to XXX.DOMAIN.COM
67
DNS / Re: More than 2 name servers
« on: October 12, 2024, 06:54:03 PM »
Then just change the nameservers in CWP, rebuild the DNS zones for the domains to reflect the changers in the DNS zones then update the nameservers at the registrar for your domains.
68
DNS / Re: Format issue with dots
« on: October 12, 2024, 11:24:15 AM »
Actually, it is common rule to add a dot at the end of each FQDN in DNS. In case there is no dot then the value from $ORIGIN will be added to the specified domain name.
So if $ORIGIN of the DNS zone has the value "domain.com" then both lines are equal:
@ IN MX 5 mx
@ IN MX 5 mx.domain.com.
So if you add the dot then the specified domain name is recognized as fully qualified domain name.
It is not a bug.
So if $ORIGIN of the DNS zone has the value "domain.com" then both lines are equal:
@ IN MX 5 mx
@ IN MX 5 mx.domain.com.
So if you add the dot then the specified domain name is recognized as fully qualified domain name.
It is not a bug.
69
DNS / Re: More than 2 name servers
« on: October 12, 2024, 10:48:28 AM »
Try to edit the default DNS zone template:
https://wiki.centos-webpanel.com/custom-dns-zone-template
Actually you need to remove the records (make backup of the default template before you edit it):
from the template and add the records like:
https://wiki.centos-webpanel.com/custom-dns-zone-template
Actually you need to remove the records (make backup of the default template before you edit it):
Code: [Select]
@ 86400 IN NS %ns1%.
@ 86400 IN NS %ns2%.
from the template and add the records like:
Code: [Select]
@ 86400 IN NS NS1.NAMESERVER.COM.
@ 86400 IN NS NS2.NAMESERVER.COM.
@ 86400 IN NS NS3.NAMESERVER.COM.
@ 86400 IN NS NS4.NAMESERVER.COM.
70
E-Mail / Re: Strange problem with mac apple mail and new email accounts
« on: October 06, 2024, 01:51:05 PM »
If you believe the user set the correct login credentials in the mail application then ask him/her to look for the feature called like "Authentication method". There will be options like "Oauth, NTLM, MD5, Password, etc". Play with it but add the WAN IP address of your user to the temporary whitelist of CSF in order to avoid blocking.
71
E-Mail / Re: Strange problem with mac apple mail and new email accounts
« on: October 05, 2024, 09:27:56 PM »Code: [Select]
(auth failed, 1 attempts in 180 secs)
It means the authentication process fails. Your mail application uses wrong username and/or password. It could happen if you specify wrong mail username, password, encryption mechanism, etc.
Currently I recommend you to make sure you use full mailbox name (e.g. address@domain.com) as the mail username and correct password for the mailbox (the login and password are case sensitive).
Additionally, you can find the correct mail settings in the user panel under "Email accounts" --> "Email accounts".
72
SSL / Re: Auto SSL certificate for mail only
« on: October 04, 2024, 09:21:31 PM »
Go to "CWP admin" --> "WebServer Settings" --> "SSL Certificates" --> List installed (tab) --> "Admin Services" near the domain associated with the subdomains you want to apply the SSL for --> "Check the options Webmail, Mail" --> "Apply the changes".
Make sure the SSL is installed and you have "Webmail", "Mail" in the column "Services" associated with the domain name.
Currently it looks like you haven't enabled the SSL for the domain name.
If it doesn't work still then show us what you see in the column "services" in the row of the problematic domain like this:
https://i.imgur.com/VcGsYAV.png
Make sure the SSL is installed and you have "Webmail", "Mail" in the column "Services" associated with the domain name.
Currently it looks like you haven't enabled the SSL for the domain name.
If it doesn't work still then show us what you see in the column "services" in the row of the problematic domain like this:
https://i.imgur.com/VcGsYAV.png
73
SSL / Re: Auto SSL certificate for mail only
« on: October 04, 2024, 06:54:33 PM »
I don't understand this:
Quote
But, in navigator, the certificate point to host.server1.com instead of domain.comCould you please clear this (provide screenshot or something like that) ?
74
Information / Re: Difficulty to get a quote
« on: October 04, 2024, 04:26:58 PM »
Hi,
If you want to add links to the Admin section of CWP then you can find the solutions here:
https://forum.centos-webpanel.com/new-modules/how-to-add-custom-built-module-to-left-menu/
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg28667/#msg28667
(Thanks to rcschaff)
If you want to add links to the Admin section of CWP then you can find the solutions here:
https://forum.centos-webpanel.com/new-modules/how-to-add-custom-built-module-to-left-menu/
https://forum.centos-webpanel.com/i-can-build-it/apache-status-accesses/msg28667/#msg28667
(Thanks to rcschaff)
75
SSL / Re: Auto SSL certificate for mail only
« on: October 04, 2024, 04:07:05 PM »
Try to do following:
1. Access your server as root over SSH
2. Go to:
3. Edit the file (make backup of the file before you modify it):
4. Try to request the new SSL via the admin area of CWP.
However, I am not sure if this way is correct to fix the problem.
1. Access your server as root over SSH
2. Go to:
Code: [Select]
/root/.acme.sh/cwp_certs/DOMAIN/
where DOMAIN is the domain name your subdomains are associated with.3. Edit the file (make backup of the file before you modify it):
Code: [Select]
DOMAIN.conf
Remove all objects pointed to a 3rd party server and listed in:Code: [Select]
Le_Domain=
Le_Alt=
Leave only objects (subdomains) pointed to this server. Move some subdomain listed in "Le_Alt" to "Le_Domain".4. Try to request the new SSL via the admin area of CWP.
However, I am not sure if this way is correct to fix the problem.