The principle of WWW server virtual host
The WWW server virtual host refers to a WWW server that uses a physical machine to act as multiple host names. For example, by a machine to provide http://www.company1.com, http://www.company2.com and other WWW services, and browsing
VirtualHost is a technology used to build multiple website services with different domain names or based on different IP addresses on the same machine. you can specify different IP addresses and ports for each website running on the same physical machine, or assign different domain names to multiple websites. apache is the most widely used Web server in the world. It has supported virtual hosts since version 1.1. this article will explain how to RedHa
Building an environment has always been a process of repeating wheels, and Docker machine brings together a variety of scenarios for users to build Docker environments. In the article "Introduction to Docker Machine", the author demonstrates the use of Docker machines to install a Docker environment on a local vSphere host. But in the big bang of the cloud today, what really makes us headache is probably a variety of IaaS platforms! This is where Dock
PrefaceMany people install the virtual machine, often encountered the problem of Internet access, and VMware has three network mode, for beginners are also more giddy, today I will be based on virtual Machine 3 network mode, to help everyone to popularize the background knowledge of virtual machine online. (blog post original from http://www.cnblogs.com/ggjucheng
ObjectiveMany people install the virtual machine, often encountered the problem of Internet access, and VMware has three network mode, for beginners are also more giddy, today I will be based on virtual Machine 3 network mode, to help everyone to popularize the background knowledge of virtual machine online. (blog post original from http://www.cnblogs.com/ggjuche
This document uses virtualbox as an example.
I. Nat Mode
Features:
1. If the host can access the Internet, the VM can access the Internet.
2. Ping is not allowed between virtual machines.
3. the VM can ping the host (in this case, ping the gateway of the VM, that is, ping the host)
4. The
Turn from: http://blog.csdn.net/zm2714/article/details/8351342 First, change httpd.confOpen the Appserv installation folder, locate the httpd.conf file, and then remove the # number in front of the following two lines of text, respectively.#LoadModule Vhost_alias_module modules/mod_vhost_alias.soRemove # means enable Apache's virtual host feature.#Include conf/extra/httpd-vhosts.confTo get rid of this line,
First, change httpd.confOpen the Appserv installation folder, locate the httpd.conf file, and then remove the # number in front of the following two lines of text, respectively.#LoadModule Vhost_alias_module modules/mod_vhost_alias.soRemove # means enable Apache's virtual host feature.#Include conf/extra/httpd-vhosts.confTo get rid of this line, it means to import the v
The following describes three network modes (bridging, nat, and Host-only) of virtual machines. Many people often encounter problems when installing virtual machines, but vmware has three network modes, it is also a bit confusing for beginners. Today I am going to use three virtual machine-based network models to help
DEBIAN6 system under the use of the previous release of the "DEBIANLNMP" Server software suite, DEBIANLNMP one-click installation package is a fast server suite, easy to automatically install Lnmp (Nginx, MySQL, PHP, phpMyAdmin) Can be directly used in the reproduction environment. We have now installed Lnmp on Debian/ubuntu VPS (VDS) or stand-alone host, with the fastest and most up-to-date (Nginx, MySQL,
1 describes the environment settings that this article is based on as follows:? Host operating system: Windows 7 Ultimate? Parasitic operating systems: Solaris 8 SPARC (SunOS 5.8)? Virtual Environment: Simics 3.0.4This article assumes that the Solaris 8 SPARC operating system has been installed on Simics.Motive: A binary file Graphgen that can run under UNIX, cannot run on a separate
localhost.In the Hosts file located on for Ubuntu: /etc/hostsFor Windows: C:\Windows\System32\drivers\etc\hosts
Method Two: Another solution could is to ditch the. LocalHost/.dev at the end of the your local virtual host domainThis have to does with some new changes by Google. ". Dev" and ". Local" comes under Google's TLD (in the corner of the int
I. brigde -- bridging: vmnet0 is used by default.
Fish annotation:
You only need to set the IP address in the VM to allow communication even if the IP address of the host is incorrect. However, if the physical network card is disabled, communication is not allowed.
Link:
Linux Virtual Machine-> physical Nic
Windows> physical Nic
Static IP addresses and dynamic IP addresses can be used for bridging. When dyn
Own Ubuntu system installed a VirtualBox virtual machine, which is equipped with a ubuntu-server system;1. Set up the character set first, because the first time to install the system when the choice is Chinese, but the inside is always unable to support Chinese, that even if, anyway, English can see the pastVi/etc/default/localeCover it with the following two pa
Apache has two types of virtual hosts: IP-based virtual hosts and domain-based virtual hosts.
For IP-based virtual hosts, the configuration is as follows:
Namevirtualhost 10.10.10.11: 80Namevirtualhost 10.10.10.12: 80
# Virtualhost 1DocumentRoot "/AAA /"Servername domain1
# Virtualhost 2DocumentRoot "/BBB /"Servername
VMware offers three modes of operation, which are bridged (bridged mode), NAT (network address translation mode), and host-only (host mode).1 Differences between VMware virtual machine bridged, host-only, and NAT network modes 1.1 bridged (bridging mode)In bridged mode, VMWare's vi
For the WWW server configured with Apache HTTP server, you only need to configure the configuration file httpd. conf and httpd-vhosts.conf to modify, you can achieve the virtual host service, that is, provide the services of multiple hosts on the same machine, the following describes in detail its basic principle, the specific setting method. Of course, to master these skills, you need to carefully compare
Because a few days ago the teacher to check the big homework, and our database is placed in the virtual machine (do not want to put too many things in this machine, keep light and fast ...) ), usually used in the bridge mode, but given the possibility of the classroom is not good online (the library under the poor signal ...) ), so I tried to break the network, but found that can not connect to the database, so specialized to find data to learn about
A very good feature of virtual machines is that direct copy can install a new virtual machine
such as the IP configuration of the DHCP server also uses the graphical interface configuration
Close and then open to see the assigned IP
Ping tests at both server and client pass
sailing@ubuntu:~$ Ping 192.168.2.10
PING 192.168.2.10 (192.168.2.10) bytes of data.
It is so easy to allow the ubunt Virtual Machine to access the local hard disk. The procedure is as follows:
1. Run the following command to install SSH in Ubuntu:
Sudo apt-Get Install SSH OpenSSH-Server
2. view the Ubuntu IP address in the VM. The command is as follows:
Ifconfig
This is the IP address of my ubuntu.
3
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.