当前位置:网站首页>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

边栏推荐
- Acwing第 58 场周赛【完结】
- Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
- Zabbix
- 问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- [micro service SCG] 33 usages of filters
- Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
- Elfk deployment
- Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
- CAM Pytorch
- Kotlin - 协程 Coroutine
猜你喜欢

The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns

A tab Sina navigation bar

【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
![[200 opencv routines] 99 Modified alpha mean filter](/img/df/1b7beb6746f416198fc405249852f8.jpg)
[200 opencv routines] 99 Modified alpha mean filter

Bert fine tuning skills experiment
![[technology development-26]: data security of new information and communication networks](/img/13/10c8bd340017c6516edef41cd3bf6f.png)
[technology development-26]: data security of new information and communication networks

Security level
![Hmi-30- [motion mode] the module on the right side of the instrument starts to write](/img/6b/09bb8fd95b707a459534eaeb72eb59.jpg)
Hmi-30- [motion mode] the module on the right side of the instrument starts to write

Character painting, I use characters to draw a Bing Dwen Dwen

Asp+access campus network goods trading platform
随机推荐
Action News
openresty ngx_lua執行階段
Design of KTV intelligent dimming system based on MCU
tuple and point
Go RPC call
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Visual studio 2019 set transparent background (fool teaching)
Application and Optimization Practice of redis in vivo push platform
Rabbit MQ message sending of vertx
STL container
Talk about the things that must be paid attention to when interviewing programmers
College Students' innovation project management system
Prometheus monitors the correct posture of redis cluster
Three properties that a good homomorphic encryption should satisfy
CAM Pytorch
Practical case of SQL optimization: speed up your database
Design of kindergarten real-time monitoring and control system
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Pytest (5) - assertion