@Nagaraj Hebbar (IN) ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
If I understand your question correctly, you want to access the site using HTTP://dnsname.com and it should redirect to https://dnsname.com:8080. To achieve it, you can use the IIS URTL rewrite modules. You should install the URL Rewrite and the ARR (Application Request Routing) modules for IIS. Here are two links on how these can work together to create a reverse proxy to do what you want:
https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
https://blogs.iis.net/carlosag/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr
Please share more details if my understanding is not correct. Happy to assist you further.
----------
Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.