http://servername:6080/arcgis/rest/services/xxx/xxx/MapServer?token=xxx
works fine and I am directed to the service information without a need to login
however
when using the mapped (external DNS record) reference, it gets to the ArcGIS REST login page
http://xxx.com.au/arcgis/rest/services/xxx/xxx/MapServer?token=xxx