Qual è il metodo migliore per riprodurre la pagina parcheggiata come il comportamento in IIS7 + ASP.NET

StackOverflow https://stackoverflow.com/questions/5031351

  •  14-11-2019
  •  | 
  •  

Domanda

Ho creato la pagina parcheggiata come il comportamento in passato aggiungendo molti intestazioni host per diversi domini a una voce del sito Web IIS7 e modificando il contenuto delle pagine dinamicamente.Mi sto chiedendo se il loro non è un modo diverso o migliore per gestire così tanti domini che puntano a un codice di codici.È il loro qualsiasi limite al numero di intestazioni host per un sito Web in IIS7?Include prestazioni o stabilità con così tante intestazioni host?

È stato utile?

Soluzione

Well, I guess I have to answer this one myself...

I can say with certainty now that IIS7 will handle serving many hundreds of host headers pointing to the same website codebase. We've been running a setup like this for the better part of a year and it performs well. You can write a script to import the host headers from a CSV file, then turn around and import them into your database.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top