We have more or less the following infrastructure 1. In production we have WFE, App Serv, UAG. We have some configuration to point internet URLs to sites on THE dmz production farm. Something like www.mydomain.com will go to http://server1 or whatever.
In testing environment we have the same config,
However in dev environment we dont have an UAG servers but we do have alternate access mappings. So, one site like http://devenvironment.ourdomain.com actually goes to http://devserver The dns admin created dns records to be able to see that URL from the workstation or from the development server itself, which by the way has visual studio installed.
In sharepoint, many times you need to interact with SPWeb and SPSite objects, and in the constructor sometimes you have to use the URL, so:
- I suppose the AAM Url wont work?
- Should I use always the real internal url aka Server name?
- What approach would you recommend to develop in this environment specially when I will heavely use Spweb and Spsite objects?