Use case : Using UwAmp portable on a portable hard disk drive. It's loaded on a windows computer on a wired LAN network (in a school's computer lab), and UwAmp is launched. There is a static website loaded with educational content (see RACHEL). The IP address is noted using ipconfig
and students on other computers type it into their browser to access the site.
Mission: We want to bring in an interactive website here, where users can log in to their accounts and post content, comments, or edit wiki page, etc (nothing on the internet, mind: this is on a LAN).
Challenge: The IP address keeps changing; even the PC at which the portable server is loaded can change at any time. The HDD has to go to another LAN network on the campus on other days of the week. The whole folder will also get copied to other HDDs and travel to other schools and continue operation elsewhere. And so CMS's like Wordpress that seemingly depend on the full URL (which is the old IP address or localhost).. crash.
It's a portable local web server that's supposed to hop locations and not be chained to IP addresses. The solutions I've seen so far belong to completely different use-cases: they involve editing database tables or setting up aliases and editing the hosts file on all the machines including clients, which is just not possible here.
So, requesting help in setting up a changing-IP-address-proof interactive website (php.. wordpress.. wiki.. whatever works!) on a local server like UwAmp, with no configuration changes required when the IP address changes. Thanks in advance!