Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
The domain kitchenaffinity.com has both IPv4 and IPv6 addresses, and they do not lead to the same host. Seemingly the system published via IPv6 address is on hostinger. Is it an old provider used before migrating to AWS? If yes, you may want to change the IPv6 address from the old to the new one on AWS.
Dear @bruncsak as the previous problem resolved by the solution you provided. I encountered one more problem when accessing the individual post. The error says:
The server on the IPv6 address is timing out. Are you sure that 2600:1f18:78a4:e269:6e73:3b7f:f71e:6801 is the correct address for kitchenaffinity.com?
What are the outputs of the ip -6 address show scope global | grep inet6
and curl -6 http://ifconfig.co
commands?
What is the URL of the "individual post" you are referring to?
I am not getting your point as I am not expert in this area of programming related things like web server configuration. You can guide me what to do. I am attaching the snap for the inboud and outbound rules. Note: I have edited the rules after my previous reply.
I will give some tips but we are not a general purpose support site for AWS or to educate on server administration.
There is a lot for you to learn when starting to manage your own servers.
Your EC2 Security Rules look okay to me. Perhaps some other aspect of your IPv6 configuration in your VPN is not correct. You should contact AWS support and docs for the correct way to support IPv6. Or, remove the AAAA record from your DNS so people do not try using IPv6 to connect to your site.
# Connections to you using IPv4 work fine
curl -i4 https://kitchenaffinity.com/exploring-the-cuisine-of-marrakech/
HTTP/1.1 404 Not Found
Date: Sat, 25 May 2024 13:51:35 GMT
Server: Apache/2.4.58 (Ubuntu)
Content-Length: 282
Content-Type: text/html; charset=iso-8859-1
# Connections to you using IPv6 fail
curl -i6 https://kitchenaffinity.com/exploring-the-cuisine-of-marrakech/
curl: (28) Failed to connect to kitchenaffinity.com port 443 after 135202 ms:
Connection timed out
As for the "404" Requested URL Not Found "error" that is something you need to fix in your Apache configuration. You should review Apache docs and support forums on how to setup Apache. We focus on helping people get and use Let's Encrypt certs. Your certs are working fine. Your website is not configured properly to serve the correct page.