Hello
I am having a APP server and a WFE server. On the APP server i have my CA and all the services that I need. On the WFE I only have the Web appliction and the distributed cache services running.
All my servers are virtual.
I have logged in to the APP server, created an Web-app, and I now can access the Web-app via http//appserver, and from outside the server via http://appserver.domain (trough AAM).
When i login to my WFE server, and browse to the IIS, and the find the Web-app under sites, and browse it, I am getting a error,
“Sorry something went wrong – file not found”.
The ULS log says:
“Cannot finde lookup info for request uri http://localhost/…
AAM have not been config. Users or service are accessing the site http://Appserver/ with the url http://localhost…
… add the http://localhost as an AAM response url”
If there is a logical solution to this, i would like some steps, or guidlines in how to get it working, and learn from it. If the solution is AAM then I would love a simple guide to where in the AAM to put, and what to put in.
And maybe it is something really simple that I am overlooking. Google was not a great help.
Thanks 🙂
I can confirm that there is no need for CA to be running on the WFE.
If the SharePoint Foundation Web Application service is running on the app server then yes essentially it is also performing the duty of a web server, although if DNS is just pointing to your Web Server then this is not too much of an issue apart from the slight memory hit.
So you just get the issue if you perform http://localhost? rather than the actual name you specified for the web app and only from the wfe?
I am trying to shake my brain for you but cannot think of anything off the top of my head. I am sure it will be simple for someone else.
I will let you know if I think of anything.
Just thinking…. have you created a site collection at the root of the web app?
I was inclined to also think of the backconnectionhostname registry entry but that normally shows in the form of continuous password prompts.
Just for clarification, there are no need for the CA service to be running on the WFE?
I do not need any load-balancing manager when I only have a APP server and a WFE server? Could it be that my APP server also is running/behaving like a WFE? It does have the SharePoint Foundation Web Application service running.
Yes, i get the same when I browse on the WFE-server from IE as I dog from the IIS.
So the Webapp called http://appserver/ is accessable from each server, and from outside the VM, there i just need to use the domain in the URL, http://appserver.domain/. The localhost on the APP Server is returning the http://appserver/ and it shows fine, but the localhost form the WFE throws me the error, Sorry Something Went Wrong.
Is it possible to get a bit more configuration information with regards to the Web Application?
So you can successfuly access it 100% on the app server and other machines on the network but not from the web server?
I presume DNS has been configured to point the required name to the desired web sever and that the web server is set to listen to that request by way of IP/hostheader/port?
I also presume that a site collection has been created within the web app?
I mean the error does seem to point towards AAM’s but for me the kind of setup you are trying to achieve should not require any additional configuration of AAM’s.
Also out of interest I presume you get the same when browsing to the site on the web server with IE as when you do from within IIS? I only say this because I have seen instances where I get different behaviour between the two methods.
To me it should just be a question of:
Create Web App
Create at least a top level site collection
Create an A record in DNS to point the url that is being used to the necessary web server.