Configuration for Wordpress installation with Web Application Firewall

I am running a Wordpress installation behind a WAF reverse proxy. The WAF virtual server is listening on 443 and redirects http traffic. We use a Let's Encrypt certificate.

The virtual server is also configured to rewrite HTML, cookies and to pass the host header.

The following issues occur:

So I am looking for answers to the following questions:

  • What is the correct way to configure the wordpress URL (IP or URL, http or https)?
  • What is the correct way to configure the virtual as well as the real webserver.

This post is discussing a seemingly similar issue. However I do not understand the difference between a "normal" host object and a DNS host object or how to create one.