Creare un'applicazione Web utilizzando PowerShell
-
10-12-2019 - |
Domanda
Voglio creare un'applicazione Web usando PowerShell.Di seguito è riportato un elenco di comandi che eseguo per raggiungere questo obiettivo e tutto funziona bene.L'applicazione Web esiste ovunque.Ma non posso accedervi con l'URL.Penso di non avere una buona qualità di "hostheader" cosa.
Quando digito l'URL dell'applicazione Web nel mio browser ottengo un errore che indica che Broswer non riesce a trovare questo sito Web.
e io insistono per utilizzare PowerShell non amministrazione centrale.
generacodictagpre
$user = Get-SPManagedAccount "Pouyanserver\Administrator"
.
generacodictagpre
Qual è il problema?E qual è l'intestazione host comunque?Quando non funziona?
Soluzione
Host header is the part of the URL, e.g. it is the "mysite" in http://mysite.example.com. You need to make sure you configure DNS to have an A record of "mysite" that points to the IP address assigned to the IIS site in the IIS Manager.