Cấu hình nhiều domain trên 1 ip tĩnh, 1 cổng trên cùng 1 server thì đơn giản
Chỉnh trong file httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin lam@vn
DocumentRoot "/www/1"
ServerName lam@net
ServerAlias www@lam@net
</VirtualHost>
<VirtualHost *:80>
ServerAdmin lam@vn
DocumentRoot "/www/2"...
Smobi
Thread
1
80
apachecấu
chạy
công
cùng
domain
hình
ip
nhiều
server
và
vps