I have created a sharepoint web application using powershell. I want to add my web application to default DNS. How i add it using powershell?

  • What you mean by default DNS? – Amal Hashim Mar 30 '15 at 17:13
  • DNS on my system – SPBeginer Mar 31 '15 at 7:54
  • Do you mean "hosts" file ? A thought : if you only create web application site collection along, it won't respond (in a web way). – Nico Mar 31 '15 at 14:43
  • Like we manually add entry to host file somthing like this: ( MySite). Similarly i want to add this entry using powershell. How i can do this? – SPBeginer Apr 1 '15 at 7:06

Your Answer

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

Browse other questions tagged or ask your own question.