I need to change the domain on my server, which I've been using certbot to get certificates for successfully. I need to switch it to a different domain though. I did not set it up initially so I have no idea how it was done, and can't figure out how to look at the current configuration.
Every answer I've found says I need to refer to the 'webroot' directory, but I'm not sure which that is exactly. It also says the requested nginx plugin does not appear to be installed so I don't think I'm doing it right if that's not how it was done initially.
Ubuntu 16.4 + nginx
edit: after installing the nginx problem, I got a new cert, but it's pointing to the wrong webroot (which is what I was trying to lookup but it's not in the config file)