Saturday, March 10, 2007

How to point your web applications to the WFE server

Should be obvious you would have thought, but alas no.

I set up the farm (3 servers as described in previous posts), and started creating the web applications for the SSPs & websites.

Note: I have a directory set up on the DEV02 (WFE) under E:\MOSS\Webs to store all Web Apps.

When creating the app pool I could not point my web app path at DEV02 E:\MOSS\Webs; SP would only accept DEV01 F:\MOSS\Webs.

Checking on the file systems and IIS app pools all the apps i created were sitting on DEV01 (App Server) rather than DEV02 (WFE).

To fix this:

  1. Turn off the WSS Web Application Service on all servers other than WFE servers.
    Note: If you turn off the web app service on a server, the web apps you have already created that reside on that server will be deleted.
  2. Select Create New Web Application.
  3. Assign a description; port 80 & host header.
  4. Set the path to DEV02 E:\MOSS\Webs
  5. Assign App Pool name & DB name etc
  6. Create.
  7. Check IIS & files in DEV02 & E:\MOSS\Webs

The app should now be hosted on DEV02 the WFE.

1 comment:

  1. Interesting article.
    But i have some further questions related to it.

    In my farm i have :
    -Database server
    -APP server (hosting the Central admin)
    -WFE1 (hosting a portal)
    -WFE2 (hosting the same portal)

    WFE1 and WFE2 are Netloadbalanced.

    My question is, if i want to create 2 portal (portal1,portal2)

    And point each portal web applications to a specific WFE like below :

    WFE1 = hosting PORTAL1
    WFE2 = hosting PORTAL2

    How can i do that ?

    Because it appears that if the Web application service is started on both servers the web application will be deployed on both of them.

    ReplyDelete