In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
What is the domain name of the LAN? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
The LAN domain name is the internal network address of each LAN. For example, the LAN IP of 192.168.1.123 is configured to a virtual domain name, such as abc.com. The corresponding rules can be added through the hosts file. In this way, we can access abc.com in the local area network, which is valid only in the local area network. Local area network domain name, you can use any domain name address, such as abc, qq, Baidu, west, etc., because it can only be used in the local area network, will not affect the external real domain name.
Local area network refers to a regional network formed in a local area, which is characterized by a limited distribution area and is a kind of private network.
Local area network domain name configuration is generally based on TCP port method, IP address method, host header name method and so on.
Here is one of the methods:
The first is to configure the hosts file
The hosts file is located at: C:\ Windows\ System32\ drivers\ etc\ hosts
Rule: 127.0.0.1 abc.com
And create a file directory on disk D, named abc, and place the program or file in it.
Secondly, configure wamp
Open the bin folder under the wamp folder and find Apache. Open the conf folder below. Find the httpd.conf file and open it, and then open the
Include conf/extra/httpd-vhosts.conf
Remove the previous #. Then open the extra folder under the conf folder and find the httpd-vhosts.conf file to open, and then configure the virtual domain name at the bottom of the file
DocumentRoot "D:/abc" ServerName www.abc.comOptions Indexes FollowSymLinksAllowOverride AllOrder allow,denyAllow from all
Then restart Apache to realize the project that uses the domain name to access the local computer in the local area network.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.