HTTPS working, but HTTP does not - WHM/cPanel
I've been fighting with this for an hour or two and can't seem to figure it out. I'm managing a client's brand new server and their site is only coming up when pulling it up with HTTPS but not when it's just HTTP. Apache seems to be responding since it's actually serving up a 404. Initially the SSL certificate was a self-signed cert that came pre-assigned when WHM was installed. I then tried deleting it and ran `/scripts/rebuildhttpdconf` but that didn't help and that actually caused HTTPS to also serve up a 404 so I generated a new SSL cert and assigned it again. And yes I've restarted apache every time I've made a change.
They don't currently have a signed cert so can't really just forward SSL to non-SSL, at least not yet.
So I'm out of ideas. Anyone know what else I should be looking at?
-
Hey there! Is there anything specific in the 404? If you check the Apache configuration directly, can you confirm there is a non-secured vhost (running on port 80) in place for that domain? Normally I'd expect the opposite to happen where SSL doesn't work. When you load the page do you see anything else helpful in the main Apache log at /etc/apache2/logs/error_log? 0 -
DavidIQ: I am also facing same issue. HTTPS is working fine but HTTP is not getting through and 404 page appears. Let me know if you found any solution. 0 -
@armananwar - is this only happening to one specific website or is it happening with multiple pages? 0 -
This is happening for all domains and subdomains. I checked AWS firewall rules. They are fine. I used cpanel image on AWS to create ec2 instance. 0 -
Could you create a ticket with our support team so we can check that directly on your system? 0 -
I created a support ticket #94485210 0 -
Thanks for that - I'm following along with that ticket now. 0 -
Our team looked at this and determined this could be caused by an issue with the NAT configuration on the machine. Let us know if you need more help with that! 0
Please sign in to leave a comment.
Comments
9 comments