In this section, I will continue to show you how to point Ghost Instance Static IP to your domain. Don't worry because you don't have a Ghost blog page for yourself, you can follow my instructions in part 1
Enable HTTPS on your Ghost Instance
sudo /opt/bitnami/bncert-tool
sudo vi /opt/bitnami/apache2/conf/httpd.conf
<IfModule headers_module> # # Avoid passing HTTP_PROXY environment to CGI's on this or any proxied # backend servers which have lingering "httpoxy" defects. # 'Proxy' request header is undefined by the IETF, not listed by IANA # RequestHeader unset Proxy early RequestHeader set X-Forwarded-Proto "https" </IfModule>
sudo /opt/bitnami/ctlscript.sh restart ghost sudo /opt/bitnami/ctlscript.sh restart apache
Check your website
Custom domain
At this point, setting up the domain name for your Ghost blog has been successful. You can check by entering the URL https://www.dinhthanhcong.info/ from a web browser and something similar to https://<PusblishIP>
Thanks for reading !!!