Sharepoint 2010 Search error “The Web application at http://url/ could not be found”: solved

A bit off topic for me (I am by no means a Sharepoint Expert, I used it only for a couple of hours now…), but I ran into this issue and it took me quite some figuring out. I configured a new Sharepoint Foundation 2010 Site, but for some reason the search threw the following error:

The Web application at http://external_url_to_my_site/ 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.

Ok, so I contacted my sysadmin who is … me. That didn’t help 🙂

First I tried configuring Search Services (and found some posts on that, such as this one: and I even contemplated installing Microsoft Search Server 2010 Express (here: But in the end it was not that complicated. I had to configure Alternate Access Mappings. Here’s how to do that.


On the server, open the Sharepoint 2010 Central Administration, navigate to Application Management. Under the heading “Web Application” click “Configure alternate access mappings”.


Now you can specify the mapping of public urls to internal urls, for different zones in the site. Default, the internal URL is the same as the public URL. Now the trick: choose “Add Internal URLs” and specify the external url in the textbox. Choose “Internet” (or any option but Default) for the zone.


Hit “save”.

In the overview of Mappings, you should have (at least) two entries:

That worked for me, although I don’t begin to understand the logic behind this.

One thought on “Sharepoint 2010 Search error “The Web application at http://url/ could not be found”: solved

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s