开发者

How to step up my site like this?

I have made a sample page, which has a logo page. It asks the user to state its department according to which the page will show the department logo.

I want to separate the website access by copying the webpage on different computers and hosting such that each computer represent a department (the webpage shows the text "welcome to department" which I have edited by department name for each department computer).

When user says:

  • www.select_your_department.com computer1 is used as IIS server
  • user says my department is alpha
  • computer1 one does response.redirect to showmydepartment.aspx which has a page saying "welcome to alpha" (that is this page is coming from the cpu dedicated for department alpha)

But how to achieve this in practical?

Even if I copy the page on a开发者_如何学运维ll the departments computer and edit it department name, the page still has the same name "showmydepartment". How to ask browser to fetch the page from particular hosting server?

I think it involves something like department.showmydepartment and some domain names.


If I understand correctly this sounds like a really bad idea. A better solution would be to developer the application based on a single computer and implement clustering if the load is too great for a single machine.

The posters idea of spreading the website across several machines has little chance of handling load situations and will be a development and maintenance nightmare.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜