Independent IP Virtual host promotes site security level
IP address is a scarce resource in China's Internet market. Because IP address allocation and use is mainly controlled by the United States, the country and the populous Asia-Pacific region IP address only 4%, causing the rapid development of the Internet in China does not have enough IP address. According to data from 2007, China has about 51 millio
Environment:Host: Win7 32-bit;Virtual machine: Ubuntu 11.04. 32 Guestsvbox:4.2.81, configure the network: Host-only and Nat Two way > realize the virtual machine can access the extranet, and the virtual machine and the host form a LAN that can access each other. Reference: h
Often use Apache virtual host for development and testing, but every time you need to configure the virtual host is the habitual CTRL + C and CTRL + V, this time because of the reload system, you need to configure a new PHP development environment Virtual
try to ping the two domain names, see,As you can see, IP is 192.168.218.128, that's right. Under normal circumstances, do not change the Hosts file, see this is the case,As you can see, the IP address becomes the IP of the official website obviously.The above is the role of the hosts this file, you can access to the IP point. This condition can be used when DNS is not yet in effect.In the www.abc.com domain name point to 192.168.218.128 this IP, to visit this site, see,is also "It works!", then
Last night I was playing with the virtualbox Virtual Machine under ubuntu. I installed several systems on the virtual machine. Because the system accesses the Internet in virtualbox by default. In this way, virtual machines can access the external network, but the external network cannot access the virtual machine, and
If everyone and I have a few tens of thousands of IP stations, it must be considered the use of virtual host or stand-alone server.
I currently have 3 10,000 IP stations, are still used by the virtual host.
We all know that the price of a virtual
Advanced Settings of wireless routing-virtual servers and DMZ hosts this article mainly introduces the virtual servers and DMZ host functions of wireless routers, that is, allow Internet users to access the servers in the home. Therefore, if you do not have this requirement, you can skip this section. To ensure LAN security, the vro hides the IP address of the LA
This afternoon wrote a simple one-click Automatic Virtual Host shell script, the script to implement automatic configuration Nginx virtual host, automatically create FTP account, automatically create a database, users, and automatically achieve MySQL automatic scheduled backup, log cutting, program backup.For other rea
Abstract: implements network communication between host machines and virtual machines
Environment:
Host operating system Windows XP
Virtual Machine Software VirtualBox
Virtual Machine operating system Linux
Principle:
Host-only
Nginx's users have recently become more and more, and many large Web sites have migrated from Apache or other platforms to Nginx. But there is one problem that I have not solved in the process of using nginx is how to restrict the directory permissions of nginx+php.We know that in Apache you can easily control the permissions of the virtual directory, such as:Program Code Program codeServerAdmin xiaopb@live.comdocumentroot/usr/www/xpb/ServerName www.x
1. Change httpd. conf
Open the installation folder of appserv, find the httpd. conf file, and remove the # Before the following two lines of text.
#LoadModule vhost_alias_module modules/mod_vhost_alias.soRemove # It means to enable the virtual host function of Apache.
#Include conf/extra/httpd-vhosts.confRemove this line # It means importing the VM configuration from the conf/extra/httpd-vhosts.conf File
Almost all webmaster friends know SEO, in doing site optimization at the same time, know how to do the chain, make original, and has been adhering to do. But neglected the most important thing, that is the choice of virtual host, the virtual host is the foundation of the site, directly affect the success or failure of
Nginx Virtual Host configuration is divided into three main categories: Domain-based virtual host (z.com)IP-based virtual host (192.168.1.42)Port-based virtual
systems has advantages, and we need to choose an operating system that is designed to fit the solution as a whole.
(2) Virtual host Control Panel
Only through the virtual host Control Panel, we can more easily and quickly set the server parameters, Management Server and maintenance server.
3, functional requirement
HTTPD supported virtual host types include the following three kinds of
Domain-based: uses a different domain name for each virtual host, but its corresponding IP makes the same.
Based on IP address: For each virtual host
1, source code to install Nginx, and configure Port-based virtual hostConfiguration requirements: The host IP address is 172.16.249.96, which requires a virtual host of 80 ports and 8080 ports respectively.In the first chapter has explained how to compile the installation Nginx, all here will no longer demonstrate the
\System32\drivers\etc\hosts" in the Windows system.Open the file with Notepad:MarkDescription: This allows you to customize the local IP and domain names to add temporary access addresses (used when DNS is not in effect).Add a virtual HostAdding "192.168.8.131 www.adai.com" to the Hosts file adds the local virtual host to the Windows system, which is automaticall
Apache Configuration Managementone, based on the port, that is, based on the different ports, the same IP virtual host virtual hosts with different ports based on the same IP 1) vi/etc/http/conf/httpd.conf2) Change the Listen field toListen 80Listen 8888(the above setting means using 80 and 8888 Ports) 3) Change the virtual
Document directory
Apache Virtual Host Guide
For Apache, it is better to look at the official content, which is comprehensive and new. In fact, it is also true for other technologies. Besides Google, you can find the answer, if it is overwhelmed by junk information, it depends on the official wiki. Chinese characters are available, but Chinese characters are not available. For details about how to set
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.