medsource
11-01-2007, 23:56
Just in case anyone was wanting to run multiple websites from the wl-700ge and use dyndns to update the ip's for all the sites (up to 5 are free on their site) here's how...
1. Install custom firmware (I'm using the 1.4.6 2a flavor).
2. Turn off the default website, and turn on the "Photo" website (you'll kill it later but humor me for now).
3. In the "Photo" directory make folders for each website you are intending to run with the naming convention of www.<your personal domain>.dyndns.org (or whatever free domain you are using). Place your content in these folders.
4. In the rc.local file kill the thttpd process and run a new instance (like in the third example for the 1.4.6 2a firmware). Make sure you add -v in the launch command (this triggers multihoming mode). Point the directory to the /Photo/ dir and you are almost there!
5. Make sure you have your domains registered in dyndns.org (or again one of the other domains they own).
6. Make sure the ddns updater is OFF in the GUI. Make a ddns.conf file similar to the one in this post http://wl500g.info/showpost.php?p=27160&postcount=2 Make sure to have ALL your hosts in the host line separated by comma and NO spaces. Also the interface is eth0 (not ppp0). Add the ez-ipupdate (as mentioned in the referenced post) execution command to your rc.local and reboot.
7. You can see if it all worked in the syslog (via the GUI works). The updater will poll every 5minutes to see if the local ip has changed on eth0, if it did then it will contact dyndns and check it's db to see if it needs to be updated.
That's it, now you have a multihoming, dynamically updating webserver!
Hope you can put this to use (finally I can give back to the community :D )
1. Install custom firmware (I'm using the 1.4.6 2a flavor).
2. Turn off the default website, and turn on the "Photo" website (you'll kill it later but humor me for now).
3. In the "Photo" directory make folders for each website you are intending to run with the naming convention of www.<your personal domain>.dyndns.org (or whatever free domain you are using). Place your content in these folders.
4. In the rc.local file kill the thttpd process and run a new instance (like in the third example for the 1.4.6 2a firmware). Make sure you add -v in the launch command (this triggers multihoming mode). Point the directory to the /Photo/ dir and you are almost there!
5. Make sure you have your domains registered in dyndns.org (or again one of the other domains they own).
6. Make sure the ddns updater is OFF in the GUI. Make a ddns.conf file similar to the one in this post http://wl500g.info/showpost.php?p=27160&postcount=2 Make sure to have ALL your hosts in the host line separated by comma and NO spaces. Also the interface is eth0 (not ppp0). Add the ez-ipupdate (as mentioned in the referenced post) execution command to your rc.local and reboot.
7. You can see if it all worked in the syslog (via the GUI works). The updater will poll every 5minutes to see if the local ip has changed on eth0, if it did then it will contact dyndns and check it's db to see if it needs to be updated.
That's it, now you have a multihoming, dynamically updating webserver!
Hope you can put this to use (finally I can give back to the community :D )