DuckDNS server inconsistant and not working with add-ons

Heads up, I am new to Home Assistant so please try to bear with me. I am running Hass.io on a Raspberry Pi 3B+ and I am following this guys configuration setup for my files.

So my duckdns server is giving me issues. It is opening very inconsistently and I don’t know why. I am able to open it 100% of the time on my local ip:

and I am able to open the add-ons through my local ip as well:

but when I go to open my duckdns website I am getting this about half the time:
image
and this the other half:

when I try to open my add-ons through duck dns I get a connection timed out error

My iframe_panel for Pi-Hole (the other add-ons are similarly structured) looks like this:

### pi-hole.yaml
# Adding an iframe panel for Pi-Hole
pihole:
  title: Pi-hole
  icon: mdi:block-helper
  url: !secret pihole_url

and my sensor configuration for it (pi-hole is the only add on I am including a sensor with):

### pihole.yaml
# Pi-Hole is running as an add-on to the Hassio 
# installation. It blocks ads on a network basis
# and enhances the privacy of my network as well.
platform: pi_hole
host: !secret pihole_url
location: admin

# My Pi-hole has SSL enabled
ssl: true

verify_ssl: false

# The list below is actually every single value you can get from Pi-hole.
monitored_conditions:
  - ads_blocked_today
  - ads_percentage_today
  - dns_queries_today
  - domains_being_blocked
  - queries_cached
  - queries_forwarded
  - unique_clients
  - unique_domains

where !secret pihole_url points to https://XXX.duckdns.org:4865

My http.yaml configuration looks like this:

### http.yaml
# All files amd data required data for
# the home assistant front end.
http:
  # Password to protect Home Assistant
  api_password: !secret http_password
  
  # URL for my Home Assistant over the internet
  base_url: !secret duckdns
  
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

where !secret duckdns is https://XXX.duckdns.org

Like I said I’m fairly new to Home Assistant and everything so my mistake is probably something obvious to you guys. I tried to include as much information/pictures as possible but if there is anything else I need to include let me know!