my domain name, "codeplane.dev", (who's IP address is updated periodically using Google's dydns API), can be pinged and displays the correct IP address when pinged, but whenever I attempt to visit the domain in Firefox, the request times out. This behavior only happens whenever I use the domain name, whenever I enter the IP address displayed by the ping command into Firefox, the website is displayed just fine. What should I do, in-order to ensure that whenever I enter my domain in the browser, my webpage is displayed?
Here's my website configuration for apache: codeplane.dev.conf
<VirtualHost *:80>
ServerName codeplane.dev
ServerAlias www.codeplane.dev
DocumentRoot /var/www/codeplane.dev/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName codeplane.dev
ServerAlias www.codeplane.dev
DocumentRoot /var/www/codeplane.dev/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>