I know I really sound naïve but I would like to ask if the one you’re referring to “yourmachinename” is an IP Address of the computer?
It could be the IP address of the computer but it can also be the actual name of the computer. The computer name is available in Control Panel -> System on the "Computer Name" tab. Or if you type "ipconfig /all" at a command prompt you will get back something that looks like
-
Windows IP Configuration
-
-
Host Name . . . . . . . . . . . . : BEN
-
Primary Dns Suffix . . . . . . . :
-
Node Type . . . . . . . . . . . . : Mixed
-
IP Routing Enabled. . . . . . . . : No
-
WINS Proxy Enabled. . . . . . . . : No
-
-
Ethernet adapter Local Area Connection:
-
-
Connection-specific DNS Suffix . :
-
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
-
Physical Address. . . . . . . . . : <snipped>
-
Dhcp Enabled. . . . . . . . . . . : Yes
-
Autoconfiguration Enabled . . . . : Yes
-
IP Address. . . . . . . . . . . . : <snipped>
-
Subnet Mask . . . . . . . . . . . : <snipped>
-
Default Gateway . . . . . . . . . : <snipped>
-
DHCP Server . . . . . . . . . . . : <snipped>
-
DNS Servers . . . . . . . . . . . : <snipped>
-
Lease Obtained. . . . . . . . . . : 31 March 2007 06:32:13
-
Lease Expires . . . . . . . . . . : 01 April 2007 06:32:13
-
(I have snipped sensitive data) The computer name is reported as Host Name in the Windows IP Configuration and the IP Address is reported in "Ethernet adapter Local Area Connection". You can use either the IP Address or the Computer Name to connect to the web server on the computer.
Do I really need to have a single computer solely dedicated to become the server? If that is the case, will a 40GB hard-disk be okay? This is really a small-scale system, catering to less than 1000 students per school year though my boss would like to have it run for a long time.
No it is not strictly speaking required. However it would be better because then you can give the computer a name that is descriptive of what it is and it will be easier for people to remember what to type into their web browser to access it. It would be best if the computer is not some ones personal machine as it will be using cpu time and memory to run the site.
Windows is ~ 3GB, Apache, MySql and PHP are ~20Mb each so as long as your site and data are <36Gbyte then a 40Gb hard drive would be fine.
I don’t have an IT department since I am just a freelance programmer recently hired to do such thing, who is more familiar with web design than creating an enrollment system running on LAN. I do develop systems, sometimes, that only require running localhost in one computer. But I’m very eager to learn how to do this and this is a definitely new experience.
But presumably the school already has an IT infrastructure and may well have someone supporting it.
My employer expressed explicitly that he would like the system to be completely off the internet since there is no DSL internet connection available in the office and the computers will be running on a single network and are not far from each other.
That's OK Cyberdyne only suggested that because it is not clear from the initial question if the system was for access from multiple sites or not.
Question:
How do I “set up a DNS entry for the machine so that it will be available at the same name even if it is moved to a different machine”?
The only DNS settings I know are the ones that I used in setting up a domain with a webhost.
You will only need (be able to have) a DNS entry if the school network has a DNS server locally. On a small network of a few computers this is unlikely. A DNS server on a network acts in much the same way the DNS servers on the internet used for setting up webhost domain names. All the computers would know the IP address of the local DNS server, when they need to look up the address of a computer from a name then the contact the DNS server which has a list of domain names and IP addresses. If the school has no servers (i.e. only a network of personal machines) then it wont have a DNS server. Even if it has a central file server it still may not have a DNS server.
In may company which has 1000's of computers and many servers spread across 3 different sites we do have a local DNS server so that the IT department can swap out 1 server for another just with a small change at the DNS server.
Even then some of the computers are contactable just because they are given a sensible name without having a DNS entry.