The early SSLv2 was designed according to the classic PKI (public key Infrastructure), which by default assumed that a server (or an IP) would only provide a service, so at the time of the SSL handshake, the server side could be sure which certificate the client was requesting.However, it is not expected that the virtual host has developed vigorously, which resulted in an IP will correspond to multiple domain
About Apache:Apache HTTP Server is an outstanding representative of open source software projects, providing web browsing services based on standard HTTP network protocols and maintaining over half of the Web service area over the long term. Apache servers can be run on Linux, Unix, Windows and many other operating system platforms.The main features of Apache:1. Open source code;2. Cross-platform application;3. Support various WEB programming languages;4. Modular design;5. Very stable operation;
The CP console in a virtual host does not support the ability to bind a two-level domain name to a subdirectory, and the user can bind a two-level domain name to a subdirectory through a program implementation.There are two ways to bind a two-level domain name to a subdirectory:1. Configure. htaccess, implemented by ps
My blog and geoserver Chinese community has been in the same virtual host, has been done a jump, www. your domain name. com access to the words jump to http://www. Your domain name, com/wordpress, opengeo.cn domain name to access the word jump to Http://opengeo.cn/dz
Yesterday found a solution to solve, do not jump, w
The domain name of jingbo has been changed from essentialblog.cn to jingpin.org. The following describes how to change the domain name.
I. Operations on cpanel:
You can perform the following four steps on the cpanel of the Host:
Step 1: add additional domain names
Find the "Additional
of IPv4 addresses to which the Internet host specified by hostname resolves. parameter hostname The host name. returned Returns an array of IPv4 addresses or FALSE if hostname cocould not be resolved.
Gethostbyname ($ hostname)// AccordingDomain NameObtainOnly the first IP address is returned.
Gethostbyname-Get the IPv4 address corresponding to a given Internet host
Nginx (pronounced with engine x) is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server that is released under a bsd-like protocol. It is characterized by the possession of less memory, concurrency is strong, in fact, nginx concurrency is actually in the same type of Web server performance better. Nginx as with Apache httpd, Nginx also provides IP-based, port-based and domain name mode to configure the virtual
out that this is a phrase
Exultation! Do not know why, this paragraph in the document is not, and then look down, the default is the host mechanism, and any host access, screenshots
In this way, we can use the domain binding to run the Tornado application, and support the multiple domain name, because that is a
:1192.168.1.11 is temporarily in effect and needs to be written to the/etc/sysconfig/network-scripts/ifcfg-eth0:1 configuration file 2) Service Network restart 3) vi/etc/httpd/conf/httpd.conf 4) Change the Virtual host section to: documentroot/var/www/html/website1 Documentroot/var/www/html/website2 5) Create directory and paging file: #mkdir –p/var/www/html/w Ebsite1 #mkdir –p/var/www/html/website2 #cd/var/www/html/website1 #cat >inde
In 3.17 days have written an article about the APAHCE based on the domain name, port, IP address 3 ways of virtual host implementation. The principle is the same, now record Nginx virtual host These three ways of implementation.The system version is Rhel5.6,nginx version 1.1.6.1. Domain-based:Based on the way the
Domain-based virtual Web Host Lab Environment: a public network used by a company's Web server IP address is 192.168.100.150 , and use the IP Address registration two domain names www.bdqn.com and the www.jbit.com . The server is already well- centos6.5 operating system, and the source code compiled by the way installed the Web Server Software httpd-2.2.17, you
Host reliability, speed, function, host access speed, the virtual host should support as many IIS concurrent number and traffic, preferably without restrictions, domain name popular easy to remember, catchy, preferably include keywords, should not be too long.
host
1. The naming format of the domain name is: WWW. Explanation of the parsing process:· The DNS client contracted to the DNS server to request the IP address of the www.baidu.com due to a CNAME record;· The DNS client accesses the www.a.shifen.com domain name server (the equivalent of a domain name server that accesses www.baidu.com);· Here www.a.shifen.com
again, the browser will first pop up the authentication dialog box, only the correct user name and password can be entered to access the page3, domain-based virtual hostUse a httpd server to build two virtual web hosts www.benet.com and www.accp.com with an IP address of 192.168.30.15(1) Provide domain name resolution for virtual hostIn reality, you need to register the
to update ad support for RODC, error can be ignored 650) this.width=650; "Title=" @ZXREZ2K) (4}@k@omfqq1za.jpg "alt=" wkiol1oth5pizaalaaeuly_qgpy182.jpg "src=" http:/ S3.51cto.com/wyfs02/m02/37/bc/wkiol1oth5pizaalaaeuly_qgpy182.jpg "/> 8 now says standalone server 08 joins to an existing domain and is promoted to an additional domain controller. 650) this.width=650; "Title=" []0{2~2km9v5 5RCX] 2_v2o.jpg "a
update ad support for RODC, error can be ignored 650) this.width=650; "Title=" @ZXREZ2K) (4}@k@omfqq1za.jpg "alt=" wkiol1oth5pizaalaaeuly_qgpy182.jpg "src=" http:/ S3.51cto.com/wyfs02/m02/37/bc/wkiol1oth5pizaalaaeuly_qgpy182.jpg "/> 8 now says standalone server 08 joins to an existing domain and is promoted to an additional domain controller. 650) this.width=650; "Title=" []0{2~2km9v5 5RCX] 2_v2o.jpg "alt=
Configuration of the virtual host
Virtual host configuration based on IP address
Listen 80
Documentroot/www/jb51
ServerName www.jb51.net
documentroot/www/jb512
ServerName www.jb512.org
Virtual host configuration based on IP and multi-port
Listen 172.20.30.40:80
Listen 172.20.30.40:8080
Listen 172.20.30.50:80
Listen 172.20.30.50:8080
Documentroot/www/jb51-80
Serve
Today in the study of PHP, there is such a requirement: an IP (such as: 127.0.0.1) and multiple domain names (virtual host) binding, the following is my solution:
Solution One: differentiate the different virtual hosts through the ports
① the way to bind a site
1. First Develop your own website (d:/myblog (stored in the D-disk MyBlog directory))
2. Configure the httpd.conf file (stored in the Conf fol
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.