Page 1 of 1

[Important]Dynamic IP, trying no-ip

Posted: Mon Mar 08, 2010 10:13 pm
by ketchupyx
Hello, i've got a dynamic ip and i would like to have a dns,

i used no-ip but it doesnt work, someone can help me??? i have to do somethiing special? Can i really put the IP in my Host file???? :?

Re: [Important]Dynamic IP, trying no-ip

Posted: Wed Mar 10, 2010 3:24 pm
by salem
i use no-ip too ^^
you have to register @ their site a domain... something like "l2powergrinder.myftp.org"
then start the little program you can download there...
"no-ip-duct" or something ^^
i put this directly in the autostart-folder ^^ it works automaticaly @ startup ^^
to offer your ip to your users, make a very simple .php :

Code: Select all

<?php$ip   = gethostbyname('l2powergrinder.myftp.org');$long = ip2long($ip); if ($long == -1 || $long === FALSE) {    echo 'Ungültige IP, versuchen Sie es noch einmal';} else {    echo $ip   . "\n";}?>
save this anywhere in the webspace... or in your local xampp/wamp folder, where the users have access
...
bleh
then you can go to the browser and tadaa "http://l2powergrinder.myftp.org/ip.php"
shows your actual IP :D
i hope i helped you ^^