当前位置:网站首页>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
边栏推荐
- Elk log analysis system
- [micro service SCG] 33 usages of filters
- The database and recharge are gone
- spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time
- Pgadmin 4 V6.5 release, PostgreSQL open source graphical management tool
- Leetcode takes out the least number of magic beans
- 【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
- Tucson will lose more than $400million in the next year
- 返回二叉树中两个节点的最低公共祖先
- ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
猜你喜欢
Yolov5 model training and detection
Yolov5 model training and detection
Can you really learn 3DMAX modeling by self-study?
Video display and hiding of imitation tudou.com
Exploration of short text analysis in the field of medical and health (II)
【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
Spark SQL learning bullet 2
Design and implementation of high availability website architecture
官宣!第三届云原生编程挑战赛正式启动!
Missile interception -- UPC winter vacation training match
随机推荐
Structure of ViewModel
Kotlin - 协程 Coroutine
TCP security of network security foundation
Traditional chips and AI chips
100 basic multiple choice questions of C language (with answers) 04
Using druid to connect to MySQL database reports the wrong type
Erreur de type de datagramme MySQL en utilisant Druid
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
Last week's hot review (2.7-2.13)
openresty ngx_lua執行階段
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Variables in postman
Learn game model 3D characters, come out to find a job?
Medusa installation and simple use
Tucson will lose more than $400million in the next year
ELFK部署
Open source SPL optimized report application coping endlessly
LeetCode --- 1071. Great common divisor of strings problem solving Report
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Asynchronous and promise