Wrong site served with common standalone certificate


Please fill out the fields below so we can help you better.

My domain is: anonweb.org

I ran this command: letsencrypt certonly --standalone -d anonweb.org -d www.anonweb.org -d plivo-assgn.anonweb.org

It produced this output: Standard success output

My operating system is (include version): Ubuntu 16.04

My web server is (include version): Nginx/1.10.0

My hosting provider, if applicable, is: GoDaddy

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no

I have two seperate nginx blocks for my two sites, anonweb.org and plivo-assgn.anonweb.org out of which www.anonweb.org is alias of the first one. After running the above mentioned command I obtained the common certificate and following the rest of tutorial here- https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

The first site anonweb.org is the default. I am absolutely sure that the root of both the nginx blocks are different as it should be but for the second site I am being served the first site i.e., on requesting plivo-assgn.anonweb.org I get the website of anonweb.org

I have absolutely no idea why this is happening. Please help!


this seems to be working now?


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