Allora dovresti fare una cosa del genere sul tuo computer dovresti eseguire ad es. crea.php
in cui c'è:

$ip = $_SERVER['REMOTE_ADDR']; //Prende il tuo IP

Poi usi i comandi per aprire/creare un file, se non sbaglio fopen.

Con cui ti crei il file index.html in cui dentro scrivi con fwrite

<html><head><title></title><meta http-equiv="refresh" content="0;url= http://$ip /></head><body></body></html>


Dopodiché prendi il file index.html e lo uploadi.