+ Post New Thread
Results 1 to 4 of 4
How do you do....it? Thread, html - pointing to internal / external links in Technical; Hi all Not sure if this is possible, but here goes. We haev a media streaming server in school that ...
  1. #1

    Sylv3r's Avatar
    Join Date
    Jul 2005
    Location
    Co. Durham
    Posts
    3,268
    Thank Post
    380
    Thanked 388 Times in 343 Posts
    Rep Power
    150

    html - pointing to internal / external links

    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

  2. #2


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,809
    Thank Post
    262
    Thanked 2,969 Times in 2,183 Posts
    Rep Power
    847
    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?

  3. #3

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    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.

  4. #4
    SteveBentley's Avatar
    Join Date
    Jun 2007
    Location
    Yorkshire
    Posts
    1,455
    Thank Post
    120
    Thanked 264 Times in 190 Posts
    Rep Power
    73
    Why would you not want to use the domain name internally?



SHARE:
+ Post New Thread

Similar Threads

  1. Internal web links not working
    By walkden-high in forum Internet Related/Filtering/Firewall
    Replies: 1
    Last Post: 19th January 2010, 04:29 PM
  2. [MS Office - 2007] Excel External Links
    By Stuart_C in forum Office Software
    Replies: 0
    Last Post: 18th September 2009, 06:20 PM
  3. External Access for Internal DB
    By gmiller in forum Web Development
    Replies: 7
    Last Post: 3rd December 2008, 04:41 PM
  4. External Links in Sharepoint
    By imiddleton25 in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 14th October 2008, 10:17 AM
  5. Network links in HTML for an intranet style doo-daa...
    By Joedetic in forum How do you do....it?
    Replies: 11
    Last Post: 23rd May 2007, 12:59 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •