Redirection issue after changing the nameserver

Thanks Stephen. The reason why i want to share it might not be to do with DNS is because Redirect single/multiple domain(s) to your Discourse instance according to this link, the redirection setup was done on discourse app.yml and not the DNS setup.

To be exact am sharing here the code in app.yml for the redirection

 - file:
        path: /etc/nginx/conf.d/discourse_redirect_1.conf
        contents: |
          server {
            listen 80;
            server_name example.org;
            return 301 $scheme://forum.example.org$request_uri;
          }

In this case, is it still nothing to do with app.yml?