Search and replace in VIM with special charecter

The only part you have to escape are the slashes in your URL.

So :s/<web-app>/http:\/\/foo.domain.com/ should do the trick.