Objectives: Download the software for a web server, and create one that is locally hosted on our computer. Use multiple web addresses to reach the same page. Create a new page in a text editor and change the html file for the homepage. Download an FTP daemon and create a password protected username account on the FTP server. Access the password protected username from another computer. Access the FTP server from command prompt.
Equipment List: 2 Computers, Apache Web Server Program, Filezilla FTP Daemon
Notes and Observations: I worked in a pair with my normal lab partner, Nick. We began by checking to make sure Apache, nor Filezilla were installed on the computer we would be using for the lab exercises. We then proceeded to go online and download Apache. Our next step was to setup a web server, following the instructions on our lab handout. After we set it up, we tested it by typing http://localhost into the address bar of our web browser. Once there, it displayed an html page with a heading of “It works!” We also were able to type in http://127.0.0.1 into the address bar, and were taken to the same page. This was the loopback address, and it worked as it should. We then created a different homepage by modifying a text file to display something different, and replacing the existing index file in the document root directory with it. We then refreshed the page in our browser and it displayed the exact changes we had made. The next task was to download Filezilla, an FTP Daemon. After downloading and setting up, we were to add a password protected user account on the FTP Server, linked to the Document Root directory. We were to then go to a different computer, and attempt to use the setup username and password to log in and FTP to that Document Root directory, which we did. We were also able to reach the FTP Server from Command Prompt.
Diagrams, flowcharts, and figures: None
References: The lab handout
Questions: What is the corresponding IP Address of localhost? 127.0.0.1
What does the default homepage on your web server look like? What happens if you type in your machines regular IP Address? Displays html page with a header of “It works!”
What is the path to the Document Root Directory? C:/Program Files/Apache Software Foundation/Apache 2.2/htdocs
How many languages does Apache natively support? Change the language on Apache to ensure it does recognize multiple languages. What language did you choose? Apache supports 10 languages, we chose French and it worked.
Do you think Apache would be a good server for a commercial application? Why or why not? What costs would be involved with operating Apache? I believe it would be great, it’s simple and free, all you would have to pay for is a web master to keep up with things and make sure it’s working smoothly.
After creating the FTP Server, what is the default address it wants to connect to? Is this the address of your FTP Server? If some one on another host wants to connect to your FTP Server, what should they type in? 127.0.0.1, this is the address of my FTP Server. If another would like to connect to this server, they would type FTP://127.0.0.1 into the address bar.
When accessing the FTP Server from Command Prompt, what does the “ls” command do? What commands would you use to Receive or Open a file, or to Send a file via command prompt with FTP? The “ls” command opens the data channel for the Directory List. Other commands as requested are as follows: Receive-recv, Open-open, Send-send.
Conclusions: We successfully downloaded and set up a web server, accessed the local host homepage in multiple ways, changed the homepage file to a text document we created, downloaded an FTP Daemon, set it up with a user name and password linked to the Document Root, accessed it from another computer on the network, then accessed it via Command Prompt.