locked
Creating a second Web Application RRS feed

  • Question

  • MOSS 2007
    I am at a loss on this one. I've got a portal up and running with no problems. I now need to create another web application and go through the steps to do so. After creating the application and then the second step of creating the site collection, all appears to complete with no problems. I go to the newly created URL and no web page shows up at all.  I get the dreaded "Internet Explorer cannot display the webpage" error.
    I've gone through and made sure the correct db's were created and are operational...and they are. The new site appears in the correct SharedServices and SharedServices is functioning properly (if it didn't my initially created portal site would not operate).
    What am I missing? Anyone have a clue where to look to trouble shoot this problem. I've gone through the IIS logs and found no errors; went into the 12 folder and found no error's there either.
    Any help would be greatly appreciated on this.
    DAnderson

    ~~~~~~~~~ DAnderson
    • Edited by Mike Walsh FIN Friday, March 25, 2011 1:55 PM - MOSS 2007 default here so moved from Title to text
    Friday, March 25, 2011 1:42 PM

Answers

  • Morning,

    Yeah you must use 80 because that is the default for HTTP so if you begin your url with http:// this means look at port 80 of that server.

    You are almost right you can have only one duo (HostHeader / Port) for each site.

    For example
    site1:80
    site2:80
    Will work because the hostheader can be used to distinguish the sites.

    where

    server1:80
    server1:80 (second app)

    Thats the reason why sharepoint assigns other ports when creating apps.
    because they do not initially forsee aliases for your server.

    Will give a conflict.

    In IIS each site must be identified uniquely by these hostheader and port combinations.

    Make sur that the DNS or hostfile is pointing to the server with the name you choose.

    Regards


    • Marked as answer by HopiBuddha Saturday, March 26, 2011 11:44 AM
    Saturday, March 26, 2011 11:17 AM

All replies

  • Hi Anderson,

    How did you create site , web application ?

    using any Host header or with server name ?

    Try to browse the site from IIS.

    Also check vent viewer.

    Please provide us required information.


    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
    Friday, March 25, 2011 2:06 PM
  • Pratik, thank you for responding to my post.

    I create the new web application through the CentAdmin site in the Application Management section. I click on "Create or Extend Web Application" then "Create a new Web application".

    Once I've clicked that section I fill out the certain box areas asking for "Description"; I do NOT fill in the "Host Header" box. The URL box I change what is there to the URL I want to be shown for access.  My application pool box reads the same as my "Description" box.

    I input my spconfigsvc username and password into the App Pool section.

    The Content db name I change to "WSS_Content_the new URL" and leave the radial "Windows Authentication" clicked.

    Then click OK.  The "Operation in Progress" page shows up and processes properly.

    Once that is done and the "Application Created" site appears; I do the IISreset and then click on "Create Site collection".

    On this page I fill in the Title and Description. Web Site Address I leave the drop down blank. Select Template I use the Team Site; then fill out the Primary and Secondary Administrator boxes. Quota Template dropdown I leave as "No Quota".

    Then I click OK. The next page "Top-Level Site Successfully Created" comes up and I click on the URL given. The URL comes up with the error "Internet Explorer cannot display the webpage". The page shows up immediately, there was no wait as in when I first created the initial web application when I installed SP.

    I made sure the URL is in the Internet Options/Security/Approved Sites section. I did as you suggested and tried to Browse the page from IIS and I gto the same error message listed above.

    In the Event viewer, no errors show.

    At this poiint, any information or ideas would be very welcome.


    ~~~~~~~~~ DAnderson
    Friday, March 25, 2011 4:01 PM
  • Hi,

    Thank you for sharing the information.

    when you click on the URL, was URL opening with http://servername/default.aspx ?

    Please check if default.aspx is not there in the address bar , manually type it and then check.


    Warm Regards, Pratik Vyas | SharePoint Consultant | http://sharepointpratik.blogspot.com/
    Friday, March 25, 2011 4:37 PM
  • Are you doing this from your machine or from the server itself ?

    If from the server did you checked the DisableLoopback check issue ?

    Also check you IIS Management console if your Application Pools are not stopped or something.

    Regards

     

    Friday, March 25, 2011 10:39 PM
  • while reading your post again it came in to me

    "; I do NOT fill in the "Host Header" box ...

    you should fill that in with your url.
    Otherwise the config of your IIS site is not complete and when an HTTP request comes in with that url IIS doesn't know which IIS site should pick it up.
    In the IIS management console you can define the Bindings(under IIS 7), under 6 its if i remember well on the first property page.

     

    Hope this helps


    Moderator Note: NEVER propose your own posts as answers. The "Propose as Answer" function is for people to propose the good answers of other people. It is NOT for self-proposing.
    Friday, March 25, 2011 11:11 PM
  • Good morning Pratik:

    I've tried a couple of different approaches on this since I last wrote here. First, I just tried your suggestion of adding default.aspx to the URL and still nothing comes up.

    I created several more Web Applications with varying names and URL's and I came upon something. In one case I created the Web Application as normal and filled in the Host Header box with a desired URL. When all was completed correctly I clicked on the URL and the same error page showed up in IE. I typed in the port number at the end of the URL (http://librarytest:15459/) and still did not get anything.  So I just tried adding the default.aspx that you suggested and this time it worked.  I got the correct page to open properly.

    But, when I take off the port number and leave the URL as such http://librarytest/default.aspx I get the error page once again. Sure enough, I went back to the other test Web Applications I created and added the port number to the URL and they all came up with no problem.  So I guess my question now is, how can I get the page to come up properly without adding the port number to the URL?  So that whenever I click on the URL http://librarytest/default.aspx or http://librarytest2/default.aspx or http://librarytest3/default.aspx or whatever it may be the page comes up properly in IE.

    Seems with your help I am getting a bit closer to solving this problem.  I do thank you for all the help.

    Have a great day!.

    DAnderson


    ~~~~~~~~~ DAnderson
    Saturday, March 26, 2011 10:26 AM
  • From the server and logged in under the SPConfigSVC account name.

    Not sure what the "DisableLoopback" is that you are speaking of; can you guide me to where I can locate this?

    All Application Pools are running.

    Thanks for the help!

     

    DAnderson

     


    ~~~~~~~~~ DAnderson
    Saturday, March 26, 2011 10:29 AM
  • Sebastien:

    Thanks again for responding; if you read the last post I left on Pratik's last answer you can see where I've filled the Host Header box in on a few more occasions now after approaching this problem a few different ways now.

    As you will read there, seems the problem I am having with the URL now is the port number. If I add what Pratik suggested and also the port number to the URL the page shows up in IE properly.  Once I take away the port number I get the same error I had gotten before.

    So I guess my question now is, how can I get the page to come up properly without adding the port number to the URL?  So that whenever I click on the URL http://librarytest/default.aspx or http://librarytest2/default.aspx or http://librarytest3/default.aspx or whatever it may be the page comes up properly in IE.


    ~~~~~~~~~ DAnderson
    Saturday, March 26, 2011 10:33 AM
  • Hi,

    Make sure you do the things like this :

    In order to be negateable in the url the port need to be 80 always.
    Next to that the host headers will make the diffence between the sites.
    Make sure when creating the app that you do put port on 80 and set a distinct host header.

    Now for the disabel looback check. it appears that you cannot connect to applications having some hostheaders on the server itself.

    Google it with bing "DisableLoobackCheck" SharePoint.

    But if you say you can reach the server already based on mapped name, this should not be the problem.

    Regards

     

     

    Saturday, March 26, 2011 10:58 AM
  • Morning Sebastien:

    I thought that you could NOT have more than one site on port 80 at one time? When creating the new Web Applications I've been using the port numbers that SP automatically generate each time you creat a new Web Application.  So I should have all my portal sites on port 80?

    DAnderson


    ~~~~~~~~~ DAnderson
    Saturday, March 26, 2011 11:11 AM
  • Morning,

    Yeah you must use 80 because that is the default for HTTP so if you begin your url with http:// this means look at port 80 of that server.

    You are almost right you can have only one duo (HostHeader / Port) for each site.

    For example
    site1:80
    site2:80
    Will work because the hostheader can be used to distinguish the sites.

    where

    server1:80
    server1:80 (second app)

    Thats the reason why sharepoint assigns other ports when creating apps.
    because they do not initially forsee aliases for your server.

    Will give a conflict.

    In IIS each site must be identified uniquely by these hostheader and port combinations.

    Make sur that the DNS or hostfile is pointing to the server with the name you choose.

    Regards


    • Marked as answer by HopiBuddha Saturday, March 26, 2011 11:44 AM
    Saturday, March 26, 2011 11:17 AM
  • Sebastien:

    Thanks for clearing that up for me.  The autogenerated port numbers that SP was giving has been confusing me to some degree. All the Web Apps that I create will have a different URL name, but the same domain name so there should not be any conflicts.

    I'll go ahead and change the ports in IIS and create a few more Web Apps to test this out. I'll get back to you shortly.

    Thanks again!

    DAnderson

     


    ~~~~~~~~~ DAnderson
    Saturday, March 26, 2011 11:22 AM
  • Sebastien:

    SUCCESS!!!  That was the answer my friend. I created three more Web Apps with unique URL's and kept the port number as 80.  Each time the page was created perfectly.

    Thank you again, I owe you dearly.

    DAnderson

     

    Moderator Note: A post in reply to this post from Sebastien asking for his post to be marked as an answer deleted.

    You have already been told not to propose your own posts, Sebastien. It is equally bad to ask someone to mark your posts as answers. Continue in this way ignoring all forum morals and your posts will be deleted.

     


    ~~~~~~~~~ DAnderson
    • Edited by Mike Walsh FIN Saturday, March 26, 2011 4:28 PM Moderator Note added saying that posts should not be made that ask people to mark posts as answers
    Saturday, March 26, 2011 11:41 AM