Write a short paragraph of your experience with setting up


This lab is based on Fedora 18, and the results you get may be different if you are using a different version. Also, please be aware that both Fedora and Apache are updated regularly and that the updates may cause problems with this assignment. Please report any anomalies to the SNAP program director using the contact information in the Staff Information area of your course.

1. Boot Fedora, open a terminal session, and log in as root.

2. Change directory to /etc/httpd/conf.

3. Open the httpd.conf file using vi.

4. Search for the NameVirtualHost directive that is close to the end of the file and un-comment it by removing the pound sign from the beginning of the line.

5. Scroll to the end of the file and create two VirtualHost containers by entering the following information:


ServerName www.website1.com
DocumentRoot /var/www/html/website1

Allow from all


ServerName www.website2.com
DocumentRoot /var/www/html/website2

Allow from all

6. Save and exit the httpd.conf file.

7. Create the DocumentRoot directories for the two virtual hosts and the password file using the following commands:

mkdir -p /var/www/html/website1
mkdir -p /var/www/html/website2

8. Change ownership of the two Web directories to the user and group currently assigned to Apache using the following commands:

chown daemon:daemon /var/www/html/website1
chown daemon:daemon /var/www/html/website2

Please note: If you have modified the Apache user and group in the httpd.conf file, please substitute your new user and group for daemon in the above command.

9. Create a default home pages for the website1 site by navigating to /var/www/html/website1, creating an index.html file, and entering the following code, as shown.



Web Site 1



You have reached Web Site 1



10. Create a default home pages for the website2 site by navigating to /var/www/html/website2, creating an index.html file, and entering the following code, as shown.



Web Site 2



You have reached Web Site 2



11. Restart apache using the apachectl restart command.

12. Add the following lines to the /etc/hosts file on your server:

127.0.0.1 www.website1.com
127.0.0.1 www.website2.com

13. Navigate to your graphical user interface and open Firefox. Type www.website1.com in the Address text box and press Enter. You should see the page that you created for the www.website1.com site.

14. Take a screen shot of the www.website1.com page and paste it here.

15. Type www.website2.com in the Address text box and press Enter. You should see the page that you created for the www.website2.com site.

16. Take a screen shot of the www.website2.com and paste it here.

Experiment with the IIS 7.0 ancillary services in Chapter 10.

Write a short paragraph of your experience with setting up the service of your choosing. Post it here and in this week's Discussion Board.

Solution Preview :

Prepared by a verified Expert
Application Programming: Write a short paragraph of your experience with setting up
Reference No:- TGS01148057

Now Priced at $120 (50% Discount)

Recommended (95%)

Rated (4.7/5)

A

Anonymous user

5/26/2016 8:23:19 AM

For the problem illustrated in the assignment above, the tutor provide a proper descriptive and comprehensive paper having all the programming codes, outputs and respective snapshots required to complete the task. Because of them I am able to comprehend the programming task. I will recommend my friends to take their assistance and get benefited.