IntroductionTransfer from http://www.pandacademy.com/%E5%A6%82%E4%BD%95%E5%9C%A8ubuntu-14-04-lts%E4%B8%8A%E8%AE%BE%E7%BD%AEnginx%E8%99 %9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/#i-3When using an Nginx Web server, you can use server blocks (similar to a virtual host in Apache) to encapsulate configuration details and host multiple domains for a single server.In this tutorial
"Browser access to My.site,OK, Complete ~ ~Reference Links:
Http://howtoubuntu.org/how-to-install-lamp-on-ubuntu
Configuring the Lamp environment under Ubuntu Server 16.04
Ubuntu 16.04 Build LAMP
Open PHP and Apache error hints
Ubuntu16.04 installation of Redis and PHP Redis extensions
Ubuntu
Ubuntu apache fastcgi virtual host installation 1 cp/etc/apache2/sites-available/default/etc/apache2/sites-available/www.domain.com here www.domain.com is the configuration file of the virtual host (of course, the file name can be arbitrary) 2. Edit this configuration file.
to facilitate the resolution of the error, this page usually has an administrator's email address, you can use the Se Rveradmin statement to set the administrator's email address
ServerName www.iigoogle.com:80 Set the server host name (if there is a domain name can be filled in the domain name, no domain name can be filled in the server IP address)
Adddefaultcharset GB2312 Sets the default character set and defines the default character set that
Although Virtual box provided an option of shared folder, It is notStraightforward to use this shared folder. It took me some searches onVirtualbox forum to find it how Ubuntu Guest OS can access the sharedFolder on WINXP Host OS.
1. Add folder (s) to shared folder menu.
It is important to write down the folder names at this step.
2. Boot guest system, o
1, first Use Ifconfig view IP, if there is no IP, configure IP, configure the IP to and host in a network segment, you can use Ipconfig to view the host (WIN7) IP address.2. Configure the IP address according to the NIC listed ifconfig:3, the virtual machine in the NAT mode is always unable and the host Ping, modified
① Installing the Apache server$ sudo apt-get update$ sudo apt-get install apache2② Configuring a single IP multi-site$ sudo vi/etc/apache2/sites-available/000-default.conf#DocumentRoot/var/www/html comment out the line$ cat/etc/apache2/sites-available/000-default.conf|grep-v "#"ServerAdmin [email protected]ServerName www.tian.comDocumentRoot "/var/www/tian.com"Errorlog ${apache_log_dir}/error.logCustomlog ${apache_log_dir}/access.log combinedServerName www.baidu.orgDocumentRoot "/var/www/baidu.o
A reverse proxy is a proxy server that allows Internet users to access the server 192.168.0.4 on the internal network. It can be understood that there are two NICs, one is a public ip address, one is two services on two servers inside and outside the 192.168.0.4 proxy, respectively running on port 9000 and port 81 01) install Apache2: sudoapt-getinstallapache2 nbs
Reverse Proxy is a proxy server that allows Internet users to access servers on the internal network.
192.168.0.4 contains two NICs,
Reference source (in Windows environment): http://hi.baidu.com/george_gly/item/5183b76e5a79e49ac5d2498bIn the NAT network mode, the virtual machine can access the external network, access the host, but the host ping does not pass the virtual machine IP, nor can ssh, FTP, HTTP and other ways to access the
For actual project development, you may need different domains to point to different projects, then you need to configure the virtual hostThe steps are as follows:1. First, you need to go to the/etc/apache2/sites-available folderCommand: Cd/etc/apache2/sites-available , enter LS, you can see 000-default.conf this configuration file2. Then, copy and rename the file, and enter the following:sudo cp 000-default.conf new profile name. conf For exam
Read the article on the Internet written by others: http://www.it165.net/os/html/201401/7063.htmlThe article uses Debian, I configure the virtual machine system one is Ubuntu 14.10, the other is Red Hat 5.0, virtual machine software is VitualboxFollow the steps in that article to complete the Ubuntu configuration, but
Apache Configure virtual host three ways, Apache virtual host
One, IP-based
1. Assume that the server has an IP address of 192.168.1.10, use Ifconfig to bind 3 IPs on the same network interface eth0:[Root@localhost root]# ifconfig eth0:1 192.168.1.11
[Root@localhost root]# ifconfig eth0:2 192.168.1.12
[Root@localhost
Tomcat virtual host configuration and tomcat Virtual Host Configuration1. What is a VM?
Multiple web sites are built on one physical machine. Each web site runs independently and does not interfere with each other. These sites are "virtual hosts ".
How to implement a VM:
1.
For example, you can set up a different domain name query interface and domain name registration interface, that is, you can use the new network domain name interface query, with a network of domain name interface registration. Different domain name types, you can use a different domain name interface to register. For example:. CN's domain name can be registered with the domain name interface of the new network interconnection,. com domain name can be registered with the domain name interface of
Virtual Host on Apache (Virtual Host created on Apache), virtualapache
0. Introduction
Usually, we want to build two or more websites on a web server, but we have only one IP and do not want to use ports (eg. www.abc.com: 8081) to visit webpages.
So, how to make www.a.com and www. B .com both point to server X. X?
1. E
I installed the virtual machine in the Windows7 system, through the virtual machine installed Ubuntu13.04, I set the host and the virtual Machine connection mode is bridged, installed, found that the virtual machine ping does not host
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.