When making a call to a Dynamic DNS URL, you receive a 404 error.
This can be cause by Apache template customizations, particularly if the template was created before the Dynamic DNS feature was added.
The custom template will need to be updated to include the cpanelwebcall proxy pass. The recommended way to do this is to copy the default template and then add your customizations. The following command will display the differences between the default template and custom template.
diff /var/cpanel/templates/apache2_4/ea4_main.default /var/cpanel/templates/apache2_4/ea4_main.local
Once the custom template is update, you will need to rebuild the Apache configuration and restart Apache.
More information about template customization can be found in our documentation.