Apologies for any wrong terminology used in here.
We're generating the links from Sitecore using
<a href="~/link.aspx?_id=B455DD7B519040C3A694155227E08A85&_z=z"> and they're rendering on the page with
<a href="https://prodcommercecm.domain.com:443/path/page" class="link link-arrow">Link</a>. Generated link in the above anchor tag is correct and if I copy the link and open in a new page it is loading the page, but if I click on the link on the page it's not redirecting to the page and not doing anything.
If I replace the URL to relative path in the DOM like
<a href="/path/page" class="link link-arrow">Link</a> It's redirecting the page. I need help in understanding why the absolute URL click doesn't work and a solution to this, if there is any.