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

边栏推荐
- Timescaledb 2.5.2 release, time series database based on PostgreSQL
- Marubeni Baidu applet detailed configuration tutorial, approved.
- Tucson will lose more than $400million in the next year
- Process scheduling and termination
- Three properties that a good homomorphic encryption should satisfy
- February database ranking: how long can Oracle remain the first?
- Hmi-30- [motion mode] the module on the right side of the instrument starts to write
- GFS distributed file system
- 使用druid连接MySQL数据库报类型错误
- Problem solving: attributeerror: 'nonetype' object has no attribute 'append‘
猜你喜欢

A label making navigation bar

Variables in postman

8. Commodity management - commodity classification

【LeetCode】98. Verify the binary search tree (2 brushes of wrong questions)

Exploration of short text analysis in the field of medical and health (II)

The most powerful new household god card of Bank of communications. Apply to earn 2100 yuan. Hurry up if you haven't applied!

The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/22/08617736a8b943bc9c254aac60c8cb.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience

LeetCode 314. Binary tree vertical order traversal - Binary Tree Series Question 6

Bert fine tuning skills experiment
随机推荐
Asynchronous and promise
Practical case of SQL optimization: speed up your database
Design and implementation of community hospital information system
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Design and practice of kubernetes cluster and application monitoring scheme
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
February database ranking: how long can Oracle remain the first?
A tab Sina navigation bar
Medusa installation and simple use
Introduce reflow & repaint, and how to optimize it?
Cut! 39 year old Ali P9, saved 150million
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
Rabbit MQ message sending of vertx
8. Commodity management - commodity classification
openresty ngx_lua執行階段
Application and Optimization Practice of redis in vivo push platform
Design and implementation of campus epidemic prevention and control system based on SSM
College Students' innovation project management system
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience