Could you please elaborate a little bit (or perferably: a lot) more about why you "cant able get ssl"? Which command did you run to get the SSL for the new subdomain? And what output did that give you?
output
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for sherlockmeet.expertsystem.co.in
Using the webroot path /usr/share/jitsi-meet for all unmatched domains.
Waiting for verification...
Challenge failed for domain sherlockmeet.expertsystem.co.in
http-01 challenge for sherlockmeet.expertsystem.co.in
Cleaning up challenges
Some challenges have failed.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I'm not familiar with this script, but it seems to be using this --webroot:
We can place a test file in that location to verify if nginx is properly configured to serve from there with: mkdir /usr/share/jitsi-meet/.well-known mkdir /usr/share/jitsi-meet/.well-known/acme-challenge echo "test file 1234" > /usr/share/jitsi-meet/.well-known/acme-challenge/Test-File-1234
and then check for file access with http://sherlockmeet.expertsystem.co.in/.well-known/acme-challenge/Test-File-1234
Interesting.. So the webroot should be OK looking at that section, but somehow it doesn't actually work?
Could you paste the entire output of sudo nginx -T? It shows all the configuration parameters currently actually in use. Please put three backticks (```) on a separate line above and below the output. Like this: