Home Article Linux下Apache配置多个域名访问

Linux下Apache配置多个域名访问

Release time:2021-02-10 14:50:52 Author:一蓑烟雨 Reading volume:215
 进入目录:/etc/httpd/conf.d vim virtual.conf  
1 <VirtualHost *:80>
  2 ServerName blog.rjxj513.com
  3 DocumentRoot "*********目录1"
  4 </VirtualHost>
  5 
  6 <VirtualHost *:80>
  7 ServerName www.rjxj513.com
  8 DocumentRoot "********目录2"
  9 </VirtualHost>
  
I want to comment

Search

classification

Leave a message
http://blog.rjxj513.com/
User login
You have not written any reviews yet!
You have commented!
Can only praise once!
You have a collection!