This forum post has been removed
Number of replies: 4Hello Alan,
I'm operating a similar setup to what you are asking. I have a router pointed at one machine designated as the default server. Apache is running there, listening to port 80, and this site can be seen at http://83.70.181.166/moodle
I have some other machines on the same LAN with xampp and moodle installations on. For example, a second machine (a PC) on the same LAN has Apache listening on port 8080, with a moodle setup. On my router, I have just configured a pinhole with the internal ip address of this machine, with the non-standard port number appended. This site can be reached at http://83.70.181.166:8080/moodle/ These and other servers all co-exist on the same LAN, and serve web content through pinholes in my router. As long as I configure each apache to listen on a different port, and use this port number in the URL, all my content makes it on to the web.
Matt
On the other hand, if you were using the same server to serve up moodle to be accessed via two different routes that is another question altogether. In the most simplest sense httpd does not care how the trafficarrives at the daemon.
Lastly, if you wanted one server to offer two instances of Moodle or have Moodle respond on a different port on a server that is more or less along the lines that Tony addressed. Your httpd can provide multiple instances on multiple ports on the same machine.... Whether or not one could extend that to having two different instances of moodle accessing the same data structure and database is a bit of another matter because of file access conflicts.... One of the networking gurus might have something to offer along those lines....