Is there a way i can hide the port from url and use cname (alias) instead of :.
For e.g. If my url is http://myserver.com:40089/webapps/index.jsp Is its possible for
No. CNAME only maps names, not ports. You need a reverse proxy if you want to map x:b to c:d.