Using ArcGIS Server 10.2.2 on Windows Server 2012 R2 I am having problem on configuring ArcGIS Web Adapter. Here is what I have done:
1- I entered 'http://localhost:6080` in GIS Server URl box and used the same Administrator User Name and Password into the box (the ones which I used to create the server)
but in result I am getting this error

2- In second try I used <A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://gisserver.mapapp:6080" target="_blank">http://gisserver.mapapp:6080</A> which the mapapp is the name of machine running the server with same credential but now I am getting this error

Can you please let me know what I am doing wrong?