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.
781
CentOS 7 Problems / Re: How to add Cors for apache & nginx without error?
« on: February 06, 2020, 02:26:45 AM »
Apache is easy: https://enable-cors.org/server_apache.html
Nginx is a bit more painful. You have to set it in all locations as I am aware.
Check out this article. They recommend creating a file with the parameters, and including it in the top of each server block. On CWP, DO NOT name it .conf, or it will crash the server.
try cors.include or something like that.
Nginx is a bit more painful. You have to set it in all locations as I am aware.
Check out this article. They recommend creating a file with the parameters, and including it in the top of each server block. On CWP, DO NOT name it .conf, or it will crash the server.
try cors.include or something like that.
782
Installation / Re: Error getting repository data for epel, repository not found
« on: February 06, 2020, 02:00:52 AM »
Run the following commands as root
yum install epel-release
then check:
yum repolist
then update;
yum -y update
reboot the server and you should be able to proceed
yum install epel-release
then check:
yum repolist
then update;
yum -y update
reboot the server and you should be able to proceed
783
Installation / Re: New CWP7 installation with cPanel backup imported, every page of CWP very slow
« on: February 06, 2020, 01:55:30 AM »
Turn off ClamAV and any spam filters you have running. 2GB of ram isn't really enough to run "everything"
784
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 06, 2020, 01:53:51 AM »
Are you using the CENTOS-minimal installer. because the normal installer comes pre-loaded with lamp, and breaks a lot of things.
785
New Modules / Two Factor Authorization Mod
« on: February 06, 2020, 12:48:12 AM »
I have built a Two Factor Authorization Module for CWP. I have tested it, but please consider this is BETA. All Issues should be reported to me on this post.
Pre-Requisites.
You need an API key created with ACCOUNT-> list created
After installation, make sure you change User Account -> Themes to the modified theme, and don't allow them to change
Please not that this system works around the CWP login system, and therefore is not infallible, though I did my best to hide that it's there.
TO install:
From root user via ssh:
wget https://schaffner.org/cwp2fa.tar.gz
tar -xzf cwp2fa.tar.gz
cd cwp_2fa/
./install.sh
When prompted, put in your API key
That's it.
Now log into CWP and you should see a new menu 2Factor Auth directly under Server Settings Menu
Users Menu Appears under CWP Settings
Pre-Requisites.
You need an API key created with ACCOUNT-> list created
After installation, make sure you change User Account -> Themes to the modified theme, and don't allow them to change
Please not that this system works around the CWP login system, and therefore is not infallible, though I did my best to hide that it's there.
TO install:
From root user via ssh:
wget https://schaffner.org/cwp2fa.tar.gz
tar -xzf cwp2fa.tar.gz
cd cwp_2fa/
./install.sh
When prompted, put in your API key
That's it.
Now log into CWP and you should see a new menu 2Factor Auth directly under Server Settings Menu
Users Menu Appears under CWP Settings
786
DNS Manager / Re: HTTP Test Page on the homepage and 404 Not Found
« on: February 05, 2020, 11:49:49 PM »
CWP is more for a hosting platform. If your looking for a simple LAMP Stack, it's not really required. Though it does make it easier to configure mail and such.
787
SSL / Re: Only authorised on 8443
« on: February 05, 2020, 03:37:40 PM »
Try rebuilding the vhosts in cwp
788
DNS Manager / Re: HTTP Test Page on the homepage and 404 Not Found
« on: February 05, 2020, 03:31:36 PM »
You can try yum removing the lamp stack you installed, then rerun /use/local/src/
sh (installscript)
sh (installscript)
789
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 05, 2020, 09:07:38 AM »
Not sure then. Just installed 3 VM's with it flawlessly. So something fubared on your machine. Just try the reinstall and hopefully everything works out.
790
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 05, 2020, 08:25:33 AM »
By Chance did you terminate the install script?
cd /usr/local/src
sh cwp-el7-latest
something went very wrong with your install
If that's no the script you have, you installed the os6 version
cd /usr/local/src
sh cwp-el7-latest
something went very wrong with your install
If that's no the script you have, you installed the os6 version
791
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 05, 2020, 07:58:59 AM »
Run the following Commands in order
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.928.zip
unzip -o -q cwp-el7-0.9.8.928.zip
rm -f cwp-el7-0.9.8.928.zip
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.928.zip
unzip -o -q cwp-el7-0.9.8.928.zip
rm -f cwp-el7-0.9.8.928.zip
792
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 05, 2020, 07:14:33 AM »
cat /usr/local/cwpsrv/conf/cwpsrv.conf
ls /usr/local/cwpsrv/htdocs/admin/login/
ls /usr/local/cwpsrv/htdocs/admin/login/
793
Installation / Re: after finish install cwp on Centos7 got 404 Not Found on https:myIp:2031
« on: February 05, 2020, 06:49:21 AM »
Run the following:
systemctl status cwp-phpfpm
systemctl status cwpsrv
systemctl status cwp-phpfpm
systemctl status cwpsrv
794
CentOS-WebPanel Bugs / freeDNS module bug
« on: February 05, 2020, 03:05:26 AM »
You can no longer include an insecure iframe on a secured connection. YOu need to get a signed cert for http://freedns.centos-webpanel.com/, and change the http to https
Just changing to https will fail with a self signed cert.
Just changing to https will fail with a self signed cert.
795
DNS Manager / Re: Sub Domain Registration with free DNS
« on: February 05, 2020, 02:58:42 AM »
first off, is your domain setup to the proper nameservers at your registar.
ns1.centos-webpanel.com
ns2.centos-webpanel.com
ns3.centos-webpanel.com
ns4.centos-webpanel.com
ns5.centos-webpanel.com
Second, if they indeed are, it may take 24 hours after setting them at the registar to propogate, until that point, the old NS are still considered Authorative
Use this tool, and select NS for what to look for: https://www.digwebinterface.com/
Proper formats are as follows:
my in A (IP)
my in CNAME @ // make sure you have an @ in A (IP)
my in CNAME mydomain.com
NOTE YOU tried my.domain.com in CNAME my.domain.com. This could crash a named server. Don't ever do a looped lookup
ns1.centos-webpanel.com
ns2.centos-webpanel.com
ns3.centos-webpanel.com
ns4.centos-webpanel.com
ns5.centos-webpanel.com
Second, if they indeed are, it may take 24 hours after setting them at the registar to propogate, until that point, the old NS are still considered Authorative
Use this tool, and select NS for what to look for: https://www.digwebinterface.com/
Proper formats are as follows:
my in A (IP)
my in CNAME @ // make sure you have an @ in A (IP)
my in CNAME mydomain.com
NOTE YOU tried my.domain.com in CNAME my.domain.com. This could crash a named server. Don't ever do a looped lookup