Sylv3r Posted July 11, 2010 Posted July 11, 2010 Hi all Not sure if this is possible, but here goes. We haev a media streaming server in school that is accessible via our sharepoint install. What I would like to do if possible, is when clicking on the link within school it uses the local address for the server and when accessed outside of school it uses the external details. I think what I am after is something like: When clicked access mms://172.16.0.5/stream.wmv if not available goto mms://schoolname.com/stream.wmv Cheers Andrew
Arthur Posted July 11, 2010 Posted July 11, 2010 You should be able to do this using DNS on your server. I think creating an alias (CNAME) record which points the hostname for 172.16.0.5 to schoolname.com would do this, couldn't it?
srochford Posted July 11, 2010 Posted July 11, 2010 Make the link point to http://somename.someaddress.tld/webpage.asp In that page you then add some logic which checks the IP address of the requester. If it's a local address then you redirect to the 172 address else you redirect to the extrenal address. this should then cope no matter what browser etc is used.
SteveBentley Posted July 12, 2010 Posted July 12, 2010 Why would you not want to use the domain name internally?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now