Web server configuration issue
Hello all-
Excuse my ignorance, but I'm not familiar with the server side of things. I purchase and secured my domain from domain.com and I'm having trouble accessing the secured link. It's a WordPress site.
The site is elevated-elearning.com and I want to be able to access the url in all formats(www.elevated-elearning.com, https://eleveted-elearning.com, etc.) Below is the feedback that I received from support.
I would greatly appreciate any assistance here.
Thanks,
--moe
I took a look into this, and I believe that you have a web server configuration issue. The site is responsive on HTTP, but HTTPS returns a connection refused error.
curl -ILl elevated-elearning.com
HTTP/1.1 200 OK
Date: Tue, 07 Jun 2022 03:42:40 GMT
Server: Apache/2.4.25 (Debian)
Link: http://elevated-elearning.com/index.php/wp-json/; rel="https://api.w.org/"
Link: http://elevated-elearning.com/; rel=shortlink
Content-Type: text/html; charset=UTF-8
curl -ILl https://elevated-elearning.com:443
curl: (7) Failed to connect to elevated-elearning.com port 443: Connection refused
This indicates that the server is not listening on port 443 for HTTPS at all, or there is a misconfiguration in the virtual hosts for the site. I would recommend double checking your web server configurations to ensure it's listening for connections on port 443.
1 Reply
Hey Moe.
I agree with the support person in that it appears your web server is not configured to listen on 443 for HTTPS.
Not to worry, we have plenty of resources resources that can help you with getting SSL set up:
These two guides are more focused on WordPress security generally, but they also include info on configuring SSL:
- https://www.linode.com/content/how-to-secure-wordpress-hackersploit-linux-security/
- https://www.linode.com/docs/guides/how-to-secure-wordpress/
During troubleshooting I also happened to notice that you have an A record set for www.elevated-elearning.com that points to a different IP than that of elevated-elearning.com:
dig +short elevated-elearning.com
45.79.200.112
dig +short www.elevated-elearning.com
66.96.162.131
You mentioned that you wanted to be able to access your URL in all formats, and if I'm understanding you correctly, I think you'll want to update your "www" record to point to your Linode's IPv4 address.