nanohurtz
asked on
Mapping localhost to http or https URL's in Sharepoint
This by far is probably an easy and silly thing but it is baffling me at the moment. Consider the following diagram
We have a sharepoint site whose images can only be seen by users OUTSIDE of the hosting domain. Those users that access the site from WITHIN the domain cannot see the image. The image is hardcoded to be referenced from outside the domain (http/https). The solution would be to somehow map local host to the https url being used by those outside the domain, but how to do this?
I hear conflicting arguments about the modification of the /etc/host files (i.e. 127.0.0.1 www.mydomain.com). Apparently modifying this can affect AAM and IIS redirects. What is the best approach to configure Sharepoint so that SSL (https) pages can be seen INSIDE and OUTSIDE the host domain?
We have a sharepoint site whose images can only be seen by users OUTSIDE of the hosting domain. Those users that access the site from WITHIN the domain cannot see the image. The image is hardcoded to be referenced from outside the domain (http/https). The solution would be to somehow map local host to the https url being used by those outside the domain, but how to do this?
I hear conflicting arguments about the modification of the /etc/host files (i.e. 127.0.0.1 www.mydomain.com). Apparently modifying this can affect AAM and IIS redirects. What is the best approach to configure Sharepoint so that SSL (https) pages can be seen INSIDE and OUTSIDE the host domain?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I meant if a user were to directly access an image from inside the network, what do they get? They should receive some kind of error page...
When i say access directly, like this...
http://blahblah/images/picture.jpg
This should give you some sort of error page and maybe more insight.
Have you tried adding the record to a local machines host file like you said to see if that does indeed work? If it does, then you know its dns.
When i say access directly, like this...
http://blahblah/images/picture.jpg
This should give you some sort of error page and maybe more insight.
Have you tried adding the record to a local machines host file like you said to see if that does indeed work? If it does, then you know its dns.
ASKER
I was just advised that it may be best to setup a UAG or ISA server and populate it with redirects to internal and external links to the image. Otherwise the I am thinking to simply host the image in a sub-domain which can be accessed by both internal and external requests
ASKER
Not complete, but the best possible answer.
If you do have a DNS server add an A record for the site and bypass the host files. That would turn into a mess quickly.
If you try to view one of the images directly via url from inside the network what do you get?