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