Académique Documents
Professionnel Documents
Culture Documents
Exercise 1: Create DNS records for public and internal access to the
default website
1. Create a new A record in the Domain Name Service (DNS) zone Contoso.com. Use the
following settings:
• Name: WWW
• IP address: 192.168.3.51
2. Create a new A record in the DNS zone Contoso.pri. Use the following settings:
• Name: Internal
• IP address: 192.168.3.51
a. In the DNS Manager tree view, under Forward Lookup Zones, click the zone
contoso.pri.
b. In the menu bar, click the Action menu, and then click New Host (A or AAAA).
c. In the New Host dialog box, in the Name box, type Internal.
d. Note the Fully qualified domain name (FQDN).
e. In the IP address box, type 192.168.3.51.
f. Click the Add Host button.
g. When the DNS confirmation dialog box appears, click OK.
h. In the New Host dialog box, click the Done button.
i. Verify that the Name, Type, and Data settings of the new A record are correct.
j. Close DNS Manager.
k. Close Server Manager.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 2 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
Result: After completing this exercise, you should have created the DNS records necessary
to make sure public and internal access to the default website hosted on LON-SVR1.
• Location: c:\inetpub\wwwroot
• Content:
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 3 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
d. In the menu bar, click File, and then click Save As.
e. In the Save As dialog box, click File name, and then delete *.txt.
f. In the File name box, type c:\inetpub\wwwroot\default.htm.
g. Click the Save button.
h. Close Notepad.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 4 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
3. Verify Testpage.asp.
a. Log on to LON-DC1, and on the taskbar, click Internet Explorer.
b. In the address bar, type http://www.contoso.com/Testpage.asp.
c. Notice that the browser displays Testpage.asp.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 5 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
d. Note the IIS Version, Application Physical Path, and Application Path.
e. Close Internet Explorer.
Result: After completing this exercise, you should have created a simple test webpage and
added support for a dynamic server-side web application language.
• Name: DefaultSite_Docs
• Location: c:\inetpub\wwwroot
a. Log on to LON-SVR1, and on the taskbar, click File Explorer.
b. In the tree view, expand This PC.
c. Under This PC, expand Local Disk (C:).
d. Under Local Disk (C:), expand inetpub, and then click wwwroot.
e. Right-click in the file and folders pane, click New, and then click Folder.
f. Name the new folder DefaultSite_Docs.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 6 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
1. Create a virtual directory in the default website by using the following information:
• Alias: Photos
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 7 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
a. Log on to LON-SVR1, and on the taskbar, click Internet Information Services (IIS)
Manager.
b. In the Connections pane, expand LON-SVR1, expand Sites, and then expand
Default Web Site
c. Right-click Default Web Site, and then click Add Virtual Directory.
d. In the Add Virtual Directory dialog box, click Alias, and then type Photos.
e. Click Physical Path, and then type C:\Sites\Default\DefaultSite_Photos.
f. Click OK.
g. In the Connections pane of Internet Information Services (IIS) Manager, under the
Default Web Site, notice and note the name of the virtual directory. Notice its icon.
h. Close Internet Information Services (IIS) Manager.
• Alias: OrderApp
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 8 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
1. In the default website, convert the Photos virtual directory to an application by using the
following information:
• Alias: Photos
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…onFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 9 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
1. When you finish the lab, revert the virtual machines to their initial state. To do this,
follow these steps:
a. On the host computer, start Hyper-V Manager.
b. In the Virtual Machines list, right-click 10972B-LON-DC1, and then click
Shutdown.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…nFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 10 of 11
Lab Answer Key: Module 2: Configuring the Default Website 11/29/15, 10:37 PM
Result: After completing this exercise, you should have created new folders, virtual
directories, and applications.
https://skillpipe.com/reader/en-GB/Book/BookPrintView/484558e7-2713-45ea-8f…nFilterOwn=false&AnnotationFilterTeacher=false&AnnotationFilterClass=false Page 11 of 11