The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

No-ip.com question...

TxdoHawkTxdoHawk Registered User regular
edited December 2007 in Help / Advice Forum
Alright, here's the deal. I downloaded and installed LanP3, which seems to be a really awesome mp3 server. It lets anyone connect to a web page and remotely choose what songs the server system will play. I also have a No-IP redirect set up on the machine. So, now if someone inputs:

http://myredirect.no-ip.org:1300/LanP3/

from anywhere on the web, they can access it. This is all well and good, but is there any way I can make it so that when they simply input

http://myredirect.no-ip.org

they will automatically be taken to that first location, without having to input the port number and folder slash? I assume if I set LanP3 to use port 80 that should take care of the port number, but I am stumped as far as what to do about the directory part. Like, can I put a small piece of HTML code somewhere on my laptop as index.htm that will be accessed when someone goes to the base redirect, and then just automatically sends them there?

TuxedoHawk.png
TxdoHawk on

Posts

  • snarkssnarks Registered User regular
    edited December 2007
    I imagine you can just create an index.html with a javascript based redirect script.

    This script will redirect to where you want to go, if No-IP is able to serve HTML pages in the base directory. Just save it as index.html and place it in the base directory.


    <script language="javascript">
    document.location.href = "http://myredirect.no-ip.org:1300/LanP3/";
    </script>

    snarks on
  • NibbleNibble Registered User regular
    edited December 2007
    Either change the port to 80, or change your no-ip settings to "port 80 redirect" and enter 1300 as the port. You don't have to add the "/lanp3" to the URL -- you will be automatically redirected by the lanp3 program.

    Nibble on
    sig.php?id=178
  • TxdoHawkTxdoHawk Registered User regular
    edited December 2007
    Sweet, that works out great, didn't realize the redirect would be automatic. Thanks guys!

    TxdoHawk on
    TuxedoHawk.png
Sign In or Register to comment.