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

Pages: [1]
1
SSL / Re: How to Change SSL Port number in cwp?
« on: April 30, 2023, 06:10:19 PM »
more helps please?

2
SSL / Re: How to Change SSL Port number in cwp?
« on: April 19, 2023, 01:10:45 PM »
Easiest would be an iptables redirect, so you don't have to re-configure all services/vhosts. And your new port would need to be opened in the CSF firewall (/etc/csf/csf.conf). Start by enabling port forwarding:
Code: [Select]
echo "1" > /proc/sys/net/ipv4/ip_forwardThen you have to add the following rules to your iptables NAT table:
Code: [Select]
iptables -t nat -A PREROUTING -s 127.0.0.1 -p tcp --dport 443 -j REDIRECT --to 8443`
iptables -t nat -A OUTPUT -s 127.0.0.1 -p tcp --dport 443 -j REDIRECT --to 8443`

Thank you for your guide.
I applied the commands but still the site doesn't work via https in my country. (When I check with vpn through another country, the sites go through https without any problem. here is an example site: https://hipsychology.com)
Maybe I didn't do the port forwarding correctly? Is there a way to check https websites is running through which port now?

Even when I tried to redirect "Https" to "Http" via .htaccess file It's not working.
Maybe we need to do that before forwarding level? or maybe they use another method to block https websites?

3
SSL / Re: How to Change SSL Port number in cwp?
« on: April 17, 2023, 02:50:47 PM »
Are you meaning for the CWP admin (2031/2087) or user panel (2083), or just any website running on the standard HTTPS SSL port (443)?

Hi, Thanks for reply
I mean for all websites running on the standard HTTPS SSL port (443). Is it possible?

4
SSL / How to Change SSL Port number in cwp?
« on: April 14, 2023, 04:06:54 PM »
Hi
I need to change default 443 SSL port to another port number.  Can you help me how can I do this?

(In my fuckin country, dear stupid government has closed the SSL port and when I try my sites with HTTPS, they're not working. only HTTP work. So I need to change port number and maybe this fix the issue with ssl sites)

5
CentOS 7 Problems / Re: "File System Lock" Bug
« on: February 08, 2023, 12:37:07 PM »
Can't you just chmod to lock down file permissions as an interim workaround?
Code: [Select]
chmod -R go-rwx /home/mike/directory

That's just a temporary solution. That's not what we need from CWP.

6
How to / Re: How to Change defult public_html folder to another folder?
« on: February 04, 2023, 10:13:58 PM »
If this is a one-off change (and not a tpl permanent change for future account creation), you can either edit the vhosts file, or an .htaccess file to set your site root. Are you using apache or nginx?

Hi
Thanks for reply. I'm using Apache.
I want to change root domain folder to a sub folder, and then use the root folder for my other websites, because I found out that there is a really bad bug with file lock in CWP:
http://forum.centos-webpanel.com/index.php?topic=12593.msg43210#msg43210

7
CentOS 7 Problems / Re: "File System Lock" Bug
« on: February 04, 2023, 10:09:27 PM »
Hi.
Is this bug fixed? :-\

8
How to / Re: How to Change defult public_html folder to another folder?
« on: January 16, 2023, 08:13:57 PM »
nobody can help about this? any ideas?

9
How to / How to Change defult public_html folder to another folder?
« on: January 11, 2023, 05:11:58 PM »
Hello,
When we add a new user in cwp, for main domain name, It always use home/username/public_html
I'm trying to change this address for my main domain. how can I do that?
For example change current address to: home/username/public_html/mainwebsite/
Can you help me please? (I searched the forum and I couldn't find a solution)  :-\

10
CentOS 7 Problems / "File System Lock" Bug
« on: January 09, 2023, 04:26:59 PM »
It seems there is an issue with the "File System Lock" option in CWP. ??? When it's "Enabled", it only lock the public_html folder.
And all other sub folders and files under the user's folder remain unlocked (while many people may use those sub folders as their website root).
I mean for example If I put files in "home/mike/public_html" those files will be locked, But If I put my files under "home/mike/" or any other subfolder of mike (except public_html) they will remain unlocked.
In this example, How Can I lock the whole folders under Mike's Folder? :-\

I searched for this in Forum and it seems some other people faced the same issue ( https://forum.centos-webpanel.com/index.php?topic=6543.0 ) but why this bug not fixed yet (from 2 years ago!) !?

11
SSL / Why SSL Doesn't work with WWW version of Website?
« on: January 07, 2023, 06:27:08 PM »
Hello,
My websites works OK with non-WWW address, but when I open them with "www" prefix I always get SSL warning in browser.
Anyone else have same issue?

Here are some examples:
https://www.theeasttravel.com  (show warning in Browser)
https://theeasttravel.com          (without www SSL Works Fine)

https://www.wonderfulsearch.com/   (show warning in Browser)
https://wonderfulsearch.com/           (without www SSL Works Fine)

How can I fix this? any help please? :-\


12
SSL / Re: Why auto SSL works for some domains and not for others?
« on: December 29, 2022, 08:52:41 PM »
Two weeks and no reply!
Anyone knows about this or has the same problem?
did you know that Free LE SSL have limitation?
1 domain only can issue ssl 3 (or 5) for 1 week?

did you already check the log ?

Hi ,
No I didn't know about this. Are you sure?
You mean I can have free SSL for only one of domains and only for one week!!?
I'm totally new to CWP. where can I find SSL report/logs?
Thanks

13
CSF Firewall / How to block China traffic?
« on: December 28, 2022, 12:51:41 PM »
Hello,
It seems someone trying to hack my server from China.
I receive more than 30 emails per day with following kind of message in my inbox:
Quote
Time:     Tue Dec 27 23:07:47 2022 -0500
IP:       180.125.207.88 (CN/China/-)
Failures: 3 (smtpauth)
Interval: 3600 seconds
Blocked:  Permanent Block [LF_SMTPAUTH]

Log entries:

Dec 27 23:07:22 cp postfix/smtpd[53555]: warning: unknown[180.125.207.88]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Dec 27 23:07:30 cp postfix/smtpd[53555]: warning: unknown[180.125.207.88]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Dec 27 23:07:41 cp postfix/smtpd[53555]: warning: unknown[180.125.207.88]: SASL LOGIN authentication failed: UGFzc3dvcmQ6

can you help me how can I get ride of this idiot? He's in china because almost all blocked IPs in firewall come from china .
How can I block all China country in my firewall?

14
SSL / Re: Why auto SSL works for some domains and not for others?
« on: December 26, 2022, 12:19:33 PM »
Two weeks and no reply!
Anyone knows about this or has the same problem?

15
SSL / Why auto SSL works for some domains and not for others?
« on: December 15, 2022, 10:27:03 PM »
Hi,
I have several domains on my vps. my problem is auto SSL works for some domains and not for others. they all seems OK in my CWP, but when I open some of my sites in browsers, most of times I get warning message for ssl.
anyone has any idea why this happening?
thanks

Pages: [1]