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?

1 Answer 1

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.

16
  • Even then i am getting DNS unresolved error, is there anything additionally i have to do? Commented Dec 21, 2016 at 12:55
  • 1
    Can you please explain where do you getting this error? Commented Dec 21, 2016 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 Commented Dec 21, 2016 at 12:59
  • Also When the url in my browser is the same kmapps-1a8fdfe008cbdb.kmapps.com Commented Dec 21, 2016 at 13:00
  • What is the url of your site and what is the hosts entry you created? Commented Dec 21, 2016 at 13:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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