当前位置:网站首页>Apache build web host
Apache build web host
2022-07-05 02:40:00 【M wild 9】
Apache structure web host
Domain name based virtual host construction process
First step : Provide domain name resolution for virtual hosts
The second step : Prepare web documents for virtual hosts
The third step : Add virtual host configuration
vim /usr/local/httpd/conf/extra/httpd-vhosts.conf
Step four : Set access control
Paste into the end of the line of the virtual host configuration file and modify
Step five : Load a separate configuration file
1) Cancel 483 Comment on line
Step six : Access the virtual machine in the client Web host
be based on IP Virtual host construction process of address
Set up the virtual network card ip Network segment
Modify the virtual host configuration file to 192.168.153.40
vim /usr/local/httpd/conf/extra/httpd-vhosts.conf
Modify master profile , increase IP And port
vim /usr/local/httpd/conf/httpd.conf
restart httpd service , Then access the test on the client
Access the test on the client
Port based virtual host construction process
First step : Modify the virtual host configuration file
The second step : Modify the listening of the main configuration file ip And port
The third step : Restart the service , Access the virtual server in the client browser Web host
In the client, the browser passes ip And port access virtual Web host
边栏推荐
- Traditional chips and AI chips
- ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
- Scientific research: are women better than men?
- Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
- Timescaledb 2.5.2 release, time series database based on PostgreSQL
- D3js notes
- Which common ports should the server open
- Elfk deployment
- Visual studio 2019 set transparent background (fool teaching)
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
猜你喜欢
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
openresty ngx_lua执行阶段
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
8. Commodity management - commodity classification
【LeetCode】110. Balanced binary tree (2 brushes of wrong questions)
Asynchronous and promise
Design and implementation of high availability website architecture
Summary and practice of knowledge map construction technology
Asp+access campus network goods trading platform
Official announcement! The third cloud native programming challenge is officially launched!
随机推荐
Design and implementation of campus epidemic prevention and control system based on SSM
A label making navigation bar
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns
Rabbit MQ message sending of vertx
Leetcode takes out the least number of magic beans
Pytest (4) - test case execution sequence
Scientific research: are women better than men?
Start the remedial work. Print the contents of the array using the pointer
Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
Go RPC call
返回二叉树中两个节点的最低公共祖先
openresty ngx_ Lua variable operation
D3js notes
【微服务|SCG】Filters的33种用法
The application and Optimization Practice of redis in vivo push platform is transferred to the end of metadata by
TCP security of network security foundation
Subject 3 how to turn on the high beam diagram? Is the high beam of section 3 up or down
The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!
Official announcement! The third cloud native programming challenge is officially launched!