ġ (vhost) Ͻô մϴ
vhost Ʈ ⺻ :80 ϴ, home θε մϴ
( ex : httpd-vhost.conf )
Ʈ Ͽ 굵 ֽϴ.
ȯ ð ֽϴ.
NameVirtualHost xxx.xxx.xxx.xxx:port
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com # DocumentRoot "/usr/local/apache2/docs/dummy-host.example.com"
# ServerName dummy-host.example.com
# ServerAlias www.dummy-host.example.com # ErrorLog "logs/dummy-host.example.com-error_log"
# CustomLog "logs/dummy-host.example.com-access_log" common
#</VirtualHost>
ִٰ ϴ, Ŭ̾Ʈ ܿ Ʈ ѵ.. ...
Ʈ 80 ƴ ٸ η ϰ ִٸ DZ ߾ ȣƮ ü ֽø ϴ.
ټ ε Ӽ ξǸ , Ŭ̾Ʈ ܿ Ʈ(+alias) Ҵٸ
ڿ ǰ ˴ϴ.
AAA.com ̶ ϰ, IP 100.100.100.100̶ ϸ...
111.AAA.com 100.100.100.100:1111
222.AAA.com 100.100.100.100:2222
333.AAA.com 100.100.100.100:3333
̷ ϰ մϴ.
DZ ߾ ȣƮ ü ָ ɰŶ ϼ̴µ...
쵵 ش dz?
vhost Ʈ ⺻ :80 ϴ, home θε մϴ
( ex : httpd-vhost.conf )
Ʈ Ͽ 굵 ֽϴ.
ȯ ð ֽϴ.
NameVirtualHost xxx.xxx.xxx.xxx:port
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot "/usr/local/apache2/docs/dummy-host.example.com"
# ServerName dummy-host.example.com
# ServerAlias www.dummy-host.example.com
# ErrorLog "logs/dummy-host.example.com-error_log"
# CustomLog "logs/dummy-host.example.com-access_log" common
#</VirtualHost>
<VirtualHost> κ ݺϿ ÷ ǿ, Ʈ () Ʈ մϴ.
vhost Ȱȭų Alias ( /~ ) ⺻ DocumentRoot κ 켱õǹǷ ּ.
߰ : ƿ ̴ ̻ ٴ Դϴ. ִ Դϴ. vhost ִ°...
غ ϰͽ