Its there any full tutorial or blog to setup certbot on xampp server ubuntu server in aws ec2

what file name do i need to put this?

OK, well this is not the best place to learn how to do these things.
Yes, I realize you asked for a link and I never provided you with one - but tried to help you none-the-less :slight_smile:

4 Likes

Those file names and locations are shown in the output of:
certbot certificates

2 Likes

But, as I've already mentions several times, that cert does NOT have the "www" name entry in it.
All connections to the "www" name will show a security warning.

2 Likes

That's why Im very thankful.

1 Like

xampp is produced by Apache Friends and their site and community is below. They will have more help although it looks like @rg305 will soon have your certs working at least.

4 Likes

i need to set on vhost serveralias?
www.pesosanjuan.online?

The alias is already there:

image

The cert is the one missing the "www":

image

3 Likes

You still need to fix your IPv6 address - the AAAA record in your DNS. Anyone trying to connect to you using IPv6 will fail.

Your IPv6 points to a Hostinger facility. Your IPv4 A address points to your AWS EC2.

As noted earlier, you can determine your server addresses with this

curl -4 https://ifconfig.io
curl -6 https://ifconfig.io

And make sure your A and AAAA records have those values, respectively.

This is a good test site for connections

2 Likes

And the "www" name seems to have different IPv4 and IPv6 addresses:

Name:      pesosanjuan.online
Addresses: 2a02:4780:21:82f5:6bcb:a3bc:2693:4286
           52.65.236.150

Name:      www.pesosanjuan.online.cdn.hstgr.net <<<<<<<<< CDN <<<<<<<<<
Addresses: 2a02:4780:22:7a39:682d:8b79:7e6:3575
           154.62.106.25
Aliases:   www.pesosanjuan.online

And the "www" seems to be going through a CDN.

3 Likes

And the IPv6 for both those names changes each time it is queried. Even by https://unboundtest.com Probably the same Hostinger based CDN

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.