¿Cuál es el mejor método para reproducir la página estacionada como el comportamiento en IIS7 + ASP.NET
-
14-11-2019 - |
Pregunta
He creado una página estacionada como el comportamiento en el pasado agregando muchos encabezados de host para diferentes dominios a una entrada de sitios web de IIS7 y cambiando el contenido de las páginas dinámicamente.Me pregunto si no es una forma diferente o mejor de manejar tantos dominios que apuntan a una base de código.¿Es su límite en el número de encabezados de host para un sitio web en IIS7?¿Afecta el rendimiento o la estabilidad al tener tantos encabezados de host?
Solución
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.