Thanks for your replies! I am interested in the ip of the server of the index.html. But I think that I have foun a solution, thanks to the program DynSite for Windows. The program monitors the IP and update it at
but it also writes the IP into a file (ip.log) and I use the information in that file.
Before I found out that DynSite had this logging option, I put NSLOOKUP mydomain.net > c:\windows\web\ip.txt into a batch file, ip.bat and set up ip.bat to run as a scheduled task.
I have set up Remote Desktop Web Connection, and when I log on to the server, I have to supply the IP. When you install RDWC you get a file, default.htm. I renamed that file to default.asp and added some code so that it now reads the IP from ip.log and put it into the server text box. In that way I can reach my server (my home computer)here in Norway from around the world without having to worry about IP changes. And it works - after lots of trouble with ADSL modem, router, network card and of course Windows XP and all its fixes and updates.
Before I found out that DynSite had this logging option, I put NSLOOKUP mydomain.net > c:\windows\web\ip.txt into a batch file, ip.bat and set up ip.bat to run as a scheduled task. Then I filtered the ip.txt file in default.asp to get the valid ip adress into the server text box.