I tried to access my website over mobile network. At wearegirlhood.com it returns ‘your connection is not private’. NET::ERR_CERT_COMMON_NAME_INVALID. At www.wearegirlhood.com is returns ‘this site cannot be reached’ ‘DNS address could not be found’ ERR_NAME_NOT_RESOLVED
The site is hosted on a LAMP Ubuntu 16.04 with Digital Ocean. I’m not using a control panel and I have root shell access. I’m new to all managing server so any pointers in the right direction would be hugely appreciated.
Thank you very much for your reply. that is what I figured, I tried doing this with sudo certbot delete deleted both of the file. I think tried to install them by running the command sudo certbot --apache -d wearegirlhood.com -d www.wearegirlhood.com which returned the error
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.
apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/wearegirlhood.com-le-ssl.conf: No such file or directory
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError("Error while running apache2ctl configtest.\nAction 'configtest' failed.\nThe Apache error log may have more information.\n\napache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/wearegirlhood.com-le-ssl.conf: No such file or directory\n",)