Stacker
Stacker

Reputation: 8237

Sharepoint WebApplication Localhost works but not ip

i have the following Environment:

i have a website configured to use port 88 and a site collection.

problem is i could browse the site using the following URL :

http://localhost:88

but not :

http://192.168.1.8:88

it generate this error :

[FileNotFoundException: The Web application at http://192.168.1.8:88/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.]
   Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) +27650365
   Microsoft.SharePoint.SPSite..ctor(String requestUrl) +110
   Microsoft.SharePoint.IdentityModel.Pages.IdentityModelSignInPageBase.SetThreadCultureFromRequestedWeb() +64
   System.Web.UI.Control.InitRecursive(Control namingContainer) +143
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477

I`m sure of the IP and the port..

plus share point central Administration works with both

http://192.168.1.8:15769
and 
http://localhost:15769

any idea what the problem could be ?

Upvotes: 1

Views: 8902

Answers (1)

Tom Vervoort
Tom Vervoort

Reputation: 5108

Make sure that you configure your alternate access mappings correctly. Here is more information: http://technet.microsoft.com/en-us/library/cc261814(office.12).aspx (it's for SharePoint 2007, but the principles are the same in 2010)

Upvotes: 1

Related Questions