Skip to main content

Posts

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP. So what can i do for that problem ? Yes, you have to fix the error . Environment Details: Distro Name: CentOS Linux release 7.6.1810 (Core) CentOS-Web Panel version: CWP7.admin CWP version: 0.9.8.757 WebServer: Apache Only FQDN: host.datahead.biz IP: 192.120.10.3 1.Change Hostname Permanently: # hostnamectl set-hostname host.datahead.biz # hostnamectl Static hostname: host.datahead.biz Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well. # ca

Part 2: CWP Basic Configuration after Fresh Installation

7. After hosting our first parent domain, We will restart the following service and observe the output # systemctl restart cwpsrv # systemctl restart httpd # systemctl restart named Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details. That's why my parent domain and below the link is not accessible : 8. Now We will fix the DNS ,  Go to DNS Functions >> List DNS Zones  >> Now click on the "Rebuild Zone" of Parent Domain 9.Now We will create A records for our Server FQDN & Name Server as like below: 10.Please restart the following : 11. Now our Parent domain and all the links are accessible, Please check 12.Restart the following services # systemctl restart cwpsrv # systemctl restart httpd # systemctl restart named 13.After Hosting your Parent domain, Don’t forget to fix the permission Go to User Account >&g

Part 1: CWP Basic Configuration after Fresh Installation

I am very impressed that you have successfully installed CWP on your system. Now you have to configure some basic configuration on it . So Lets get started . 1. At first you need to setup "Root Email"  To Set Root Email for alert & Shared IP :  Goto CWP Settings >> Edit Settings 2. I 'm going to use Apache WebServer only. Select From the left menu, WebServer Settings >> Select WebServers >> Apache Only For High Performance WebServer, Select Nginx + Virnish + Apache Now Click on Save & Rebuild Configuration 3.SetUp NameServers : Goto DNS Functions >> Edit Nameserver IPs 4.Create a Hosting Package :  Goto Packages >> Add a Package 5.Host your Parent domain that related to server FQDN :  Goto User Accounts >> New Account 6. Follow Part 2

How to Install CentOS WebPanel (CWP7.admin ) on CentOS 7.6

1.Requirements Before the Initialization of CentOS Web Panel (CWP) installer: a). Only support static IP addresses and Does not support dynamic, sticky, or internal IP addresses. b). CWP does not provide an uninstaller. After you install CWP, you must reinstall the server to remove it. c). Only install CWP on a freshly installed operating system without any configuration changes. Make Sure that you have performed Step 1 successfully 2.Software Requirements You must have a clean/fresh installation of supported operating systems: CentOS 6, RedHat 6 or CloudLinux 6, MINIMAL installation and English version only! CentOS 7 is also supported, we recommend minimal version. 3.Hardware Requirements 32 bit operating systems require a minimum of 512 MB RAM 64 bit operating systems require a minimum of 1024 MB RAM (recommended) Recommended System: 4 GB+ RAM so you would have the full functionality such as Anti-virus scan of emails. 4.Preparing Server : Let’s install required pac

Installation Perquisite for EFA/Cpanel/CWP7/VestaCP: Part 7 Install Latest EPEL Release

First, update your Base Repository for Cpanel/CWP7/VestaCP installation, then install latest EPEL # yum update -y Reboot The Machine # reboot # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* # yum -y install epel-release Run Update again & Check # yum update -y # yum repolist If you have getting any error then run: # yum clean all # rm -rf /var/cache/yum # yum update -y # yum repolist Don't need to install latest EPEL before EFA installation. We will install EPEL after EFA installation.

Installation Perquisite for EFA/Cpanel/CWP7/VestaCP: Part 6 Set-Up Time Zone

Server Time Zone is very important for any Internet Services. My Time Zone is Asia/Dhaka . Follow the steps to configure your Time Zone. # timedatectl list-timezones # timedatectl list-timezones | grep Asia # mv /etc/localtime /root/localtime.old # ln -s /usr/share/zoneinfo/Asia/Dhaka /etc/localtime # timedatectl set-ntp yes # timedatectl set-timezone Asia/Dhaka # systemctl restart systemd-timedated.service # timedatectl Local time: Wed 2018-10-31 11:15:50 +06 Universal time: Wed 2018-10-31 05:15:50 UTC RTC time: Wed 2018-10-31 05:15:50 Time zone: Asia/Dhaka (+06, +0600) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: n/a # hwclock Wed 31 Oct 2018 11:21:37 AM +06 -0.084209 seconds

Installation Perquisite for EFA/Cpanel/CWP7/VestaCP: Part 5 Install Chrony and Configure NTP server

Accurate time keeping is important for a number of reasons in IT. This setup is the best practice that helps with problem diagnosis and informal server monitoring. I am living in Asia that's why i'm using this pool. Install Chrony and Configure The NTP server . # yum -y install chrony ( for rpm based ) # apt install chrony ( for debian based ) # vi /etc/chrony.conf ( for rpm based ) # vi /etc/chrony/chrony.conf ( for debian based ) #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org iburst server 0.asia.pool.ntp.org iburst server 1.asia.pool.ntp.org iburst server 2.asia.pool.ntp.org iburst server 3.asia.pool.ntp.org iburst add the network range you allow to receive requests allow 127.0.0.1 or allow your network cidr :x (save & quit) Reminder: We have disabled firewalld, So we will add the port 123/udp after the CWP installation using CSF firewall.  Start the services and e