+ 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,224
    Thank Post
    374
    Thanked 380 Times in 338 Posts
    Rep Power
    148

    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,177
    Thank Post
    235
    Thanked 2,751 Times in 2,027 Posts
    Rep Power
    802
    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,157
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    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,446
    Thank Post
    120
    Thanked 263 Times in 189 Posts
    Rep Power
    72
    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, 03:29 PM
  2. [MS Office - 2007] Excel External Links
    By Stuart_C in forum Office Software
    Replies: 0
    Last Post: 18th September 2009, 05:20 PM
  3. External Access for Internal DB
    By gmiller in forum Web Development
    Replies: 7
    Last Post: 3rd December 2008, 03:41 PM
  4. External Links in Sharepoint
    By imiddleton25 in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 14th October 2008, 09: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, 11:59 AM

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
  •