Control Web Panel
WebPanel => Apache => Topic started by: aakrutitech on August 14, 2022, 09:41:15 PM
-
Hello,
If I try any website like http(s)://abc.com, It will redirect to https://abc.com:2031 . I have apache rebuilt several time with no luck.
Any idea on how to fix this?
-
PS:
1. I removed vhost conf for one domain and tried restarting httpd still redirecting
2. Sometimes when tried in browser 2-3 times some site works but some never works and redirects to 2031 port
Curl/wget output is always same:
wget http://xyz.in/
--2022-08-15 06:01:41-- http://xyz.in/
Resolving xyz.in (xyz.in)... ip.add.ress.here
Connecting to xyz.in (xyz.in)|ip.add.ress.here|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://xyz.in:2031/ [following]
--2022-08-15 06:01:41-- https://xyz.in:2031/
Connecting to xyz.in (xyz.in)|ip.add.ress.here|:2031... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘xyz.in’.
To connect to xyz.in insecurely, use `--no-check-certificate'.
=========================================================
PS: I found that cwpsrv in weird way accepting connection on port 80 (!!!) And it is not even listening on port 80?!!!? Any idea
-
> SOLUTION: Restarted CSF firewall and it started working in incognito mode now. I think this is resolved. Still confused what this has to do with CSF!!