set up a website locally (within a LAN)
How would I set up a website that would be only accessible locally. There's a router machine (server) that keeps provides internet access for a number of client machines. I need to set up a learning platform (moodle) locally. The server machine runs moodle server (apache server) and students should have access to their accounts locally (no need to be accessible outside of LAN).
First of all, what would be the best network configuration for it. Sorry for a dumb question, but could I just come up with any domain name if everything stays locally within LAN? thank you |
In my lan I use what is called private IP addresses. All of your clients ought to be on a private IP range. The server is normally something like 192.168.1.1 or such but most times people make it the .1 number. So what you'd do is simply ask your clients to use an IP address in their browser such as 192.168.1.1 along with the port of apache which might be :8080. example 192.168.2.1:8080 would let you access the web page. If you want you can make a host file entry in each client to match a simple name.
|
Quote:
http://www.thekelleys.org.uk/dnsmasq/doc.html ____________________________________________ Patience is the key to success! |
Quote:
Thanks guys, my networking skills may be bad but it's not that hopeless. I know about static IP addresses, etc. The bit I was looking for was dnsmasq. Thanks again. |
Quote:
@Sms2everyone: do you post exactly the same reply to every thread you read? |
All times are GMT -5. The time now is 02:20 PM. |