IIS7 + ASP.NET에서 주차 된 페이지와 같은 주차 된 페이지를 재현하는 가장 좋은 방법은 무엇입니까?

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

  •  14-11-2019
  •  | 
  •  

문제

다른 도메인에 대한 많은 호스트 헤더를 하나의 IIS7 웹 사이트 항목에 추가하고 동적으로 페이지 내용을 변경하여 과거의 주차 페이지를 만들었습니다.나는 그들의 많은 도메인이 한 코드베이스를 가리키는 많은 도메인을 처리하는 것이 다르거나 더 좋은 방법이 아닌지 궁금합니다.IIS7의 웹 사이트의 호스트 헤더 수에 대한 제한이 있습니까?호스트 헤더가 너무 많아 성능이나 안정성에 영향을 미칩니 까?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top