Build a Web server for HT company

Source: Internet
Author: User

1. Basic settings ()

(1) Change host name to webserver

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/EC/wKioL1WL8bijCfoTAAMmSKLnY9M777.jpg "title=" 1.png " alt= "Wkiol1wl8bijcfotaammsklny9m777.jpg"/>

(2) The computer's intranet IP address is 192.168.1.1/24

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/F0/wKiom1WL8CGRpQXuAAM1bVmAguc286.jpg "title=" 2.png " alt= "Wkiom1wl8cgrpqxuaam1bvmaguc286.jpg"/>

(3) build a DNS server on this machine and resolve the name for the local website:www.HT.com,OA. Ht.com,web. Ht.com,support. ht.com,Mail. Ht.com,www2.HT.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/EC/wKioL1WL8fGRfwHqAAHsCt7qBME019.jpg "title=" 3.png " alt= "Wkiol1wl8fgrfwhqaahsct7qbme019.jpg"/> Two,WWW server settings ()

1, the company 's OA site configuration

Use the default port to configure a company intranet OA Master Station, the path is D:\OA folder, the site home name is default.htm. The name of the company's main station is:OA. Ht.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/EC/wKioL1WL8jbBD3EAAAKJYzocc3c191.jpg "title=" 4.png " alt= "Wkiol1wl8jbbd3eaaakjyzocc3c191.jpg"/>

2, the company's other site configuration

(1) Multi-port method

Build Intranet Web site "Web" using 8080 port. The path is the D:\web folder, and the site home name is index.htm. The name of the site is Web. Ht.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/F0/wKiom1WL8JqTLJQgAAK7Irq7x94614.jpg "title=" 5.png " alt= "Wkiom1wl8jqtljqgaak7irq7x94614.jpg"/>

(2) multi- IP method

Add a second external network card for this machine, The IP address is:221.192.233.1/24, the publication name is the Internetweb site, and the path is the D:\Internetweb folder. The homepage of the site is index.html. Site name is www.HT.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/F0/wKiom1WL8MmA3BRHAAGUE4CnOJc387.jpg "title=" 6..PNG "alt=" Wkiom1wl8mma3brhaague4cnojc387.jpg "/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/EC/wKioL1WL8qDxBBqZAALKCC-WnhU628.jpg "title=" 7.png " alt= "Wkiol1wl8qdxbbqzaalkcc-wnhu628.jpg"/>


(3) Multi-host head method

use the multi-Host header method to publish the site on the external network address, establish a name called support and mail two sites, the site Directory is:D:\support and D:\mail, The page name is named index.htm. The site name corresponds to: Support. ht.com and Mail. Ht.com



650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/F0/wKiom1WL8PHjXCX4AALd6jdmVxI821.jpg "title=" 8.png " alt= "Wkiom1wl8phjxcx4aald6jdmvxi821.jpg"/>


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/F0/wKiom1WL8jLD58BlAAFNXQzHdm4839.jpg "title=" 8..PNG "alt=" Wkiom1wl8jld58blaafnxqzhdm4839.jpg "/>

(4) virtual directory method

in the Internetweb uses the virtual directory method to publish the site, the site Directory is D:\www2, the home name is index.htm. Site name is www2.HT.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/EC/wKioL1WL9CWQPGlXAAM-CULeP7g358.jpg "title=" 11.png "alt=" Wkiol1wl9cwqpglxaam-culep7g358.jpg "/>

3.only allow IP addresses to browse Web sites for computers within the 192.168.1.0 network

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/EC/wKioL1WL9DXhXiLUAAM-VfpDjkU224.jpg "title=" 12.png "alt=" Wkiol1wl9dxhxiluaam-vfpdjku224.jpg "/>

Third, the network to find a client, the client operation is as follows:

(1) Change the client hostname to client,IP address 192.168.1.200/24, and connect the client to the server

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/F0/wKiom1WL8rexe9naAAFs2iy5YFo310.jpg "title=" 13.png "alt=" Wkiom1wl8rexe9naaafs2iy5yfo310.jpg "/>650) this.width=650; src=" http://s3.51cto.com/wyfs02/M01/6E/F0/ Wkiom1wl8tahoswuaaipugxdlvu350.jpg "title=" 14.png "alt=" Wkiom1wl8tahoswuaaipugxdlvu350.jpg "/>

(2) Use the browser to test all sites within the site.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/EC/wKioL1WL9LPQNqlOAAHKXvrj7uM151.jpg "title=" 15.png "alt=" Wkiol1wl9lpqnqloaahkxvrj7um151.jpg "/>650) this.width=650; src=" http://s3.51cto.com/wyfs02/M02/6E/F0/ Wkiom1wl8xxxzggeaaih4rrny8m876.jpg "title=" 16.png "alt=" Wkiom1wl8xxxzggeaaih4rrny8m876.jpg "/> Four, find a client in the external network , the client operates as follows

(1) Change the extranet client hostname to PC,the IP address is 221.192.233.100/24, and connect the client to the server, and use the browser to test all the external site points.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/F0/wKiom1WL80jyYtcZAAFaSIh1yvI323.jpg "title=" 18.PNG "alt=" Wkiom1wl80jyytczaafasih1yvi323.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/EC/wKioL1WL9SDyKaIaAAGfWr-ISc8258.jpg "title=" 19.PNG "alt=" Wkiol1wl9sdykaiaaagfwr-isc8258.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/EC/wKioL1WL9WDwpuPfAAEMCrvrsO8279.jpg "title=" 21.PNG "alt=" Wkiol1wl9wdwpupfaaemcrvrso8279.jpg "/>650) this.width=650; src=" http://s3.51cto.com/wyfs02/M01/6E/F0/ Wkiom1wl88idspzraag9dan_4h0578.jpg "title=" 22.png "alt=" wkiom1wl88idspzraag9dan_4h0578.jpg "/>650) this.width= 650; "Src=" http://s3.51cto.com/wyfs02/M02/6E/EC/wKioL1WL9ZyQUjWNAAG8xU1-0V4120.jpg "title=" 23.png "alt=" Wkiol1wl9zyqujwnaag8xu1-0v4120.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com/wyfs02/M01/6E/ED/ Wkiol1wl9bpre3zyaahi-81ntta055.jpg "title=" 24.png "alt=" Wkiol1wl9bpre3zyaahi-81ntta055.jpg "/>

This article is from the blog blog, be sure to keep this source http://129290.blog.51cto.com/9978614/1665707

Build a Web server for HT company

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.