I am quite new to GCP and learning to set up web hosting and set up SSL certificate.
I am not sure what is wrong and where to fix after installing certbot. The website was working now it no longer loads. I suspect there may be something wrong with port directions but do not know how to fix the issue.
My domain is: www.fawnberry.com
I ran this command: $ sudo apache2ctl -S
It produced this output:
VirtualHost configuration:
*:443 fawnberry.com (/etc/apache2/sites-enabled/fawnberry.com-le-ssl.conf:2)
*:80 fawnberry.com (/etc/apache2/sites-enabled/fawnberry.com.conf:4)
ServerRoot: “/etc/apache2”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/var/log/apache2/error.log”
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
PidFile: “/var/run/apache2/apache2.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“www-data” id=33
Group: name=“www-data” id=33
The operating system my web server runs on is (include version): Ubuntu 18.04.3 LTS
My hosting provider, if applicable, is: GCP
I can login to a root shell on my machine (yes or no, or I don’t know): yes