3

I set up SharePoint Stand-alone farm in a machine within organisation where DNS configuration is not control by us.

So is there anyway we can skip this DNS or any workaround in SharePoint APP environment setup?

3

Yes, instead of modifying DNS settings, you can update your local hosts file located at C:\Windows\System32\drivers\etc.

In this file you need to put your app host url and IP address. For example

127.0.0.1 app-f75ce1e9bc1ac8.myapp.com

Usually you put your localhost address and that's good for development. So the browser, when opening your app with address http://app-f75ce1e9bc1ac8.myapp.com will use your local SharePoint.
Don't forget to disable loop back check also.

  • Even then i am getting DNS unresolved error, is there anything additionally i have to do? – John Zachariah Dec 21 '16 at 12:55
  • 1
    Can you please explain where do you getting this error? – Sergei Sergeev Dec 21 '16 at 12:56
  • Once i deploy the app in Developer site template and try to access then I am getting DNS unresolved error. while i pinged the url in cmd i'm getting my IP address – John Zachariah Dec 21 '16 at 12:59
  • Also When the url in my browser is the same kmapps-1a8fdfe008cbdb.kmapps.com – John Zachariah Dec 21 '16 at 13:00
  • What is the url of your site and what is the hosts entry you created? – Sergei Sergeev Dec 21 '16 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.