Access-Control-Allow-Origin error while loading map

Discussion created by bforbhavin on Jun 26, 2014
Latest reply on Aug 20, 2014 by khutchins-esristaff
I get following error while loading the map. I guess it's related to cross-domain. Is there any configuration that I need to set while creating map?

XMLHttpRequest cannot load <server url>. Origin <local m/c name> is not allowed by Access-Control-Allow-Origin.