* °øÀÎ IP °¡ ¸ÅÇÎµÈ »ç¼³ IP ·Î °¡»ó È£½ºÆ® Çϱâ
¿¹) ¿ÜºÎ¿¡¼ µé¾î¿À´Â IP ´Â 210.90.80.18 Àε¥ ³»ºÎ´Â 172.16.52.200
1. /etc/httpd/conf/httpd.conf ¿¡¼ ÇØÁà¾ßÇÒ°Í {{{
Listen 0.0.0.0:80
NameVirtualHost *:80 <- °øÀÎ IP °¡ ¾Æ´Ò°æ¿ì ÀÌ·¸°Ô Àû¾îÁà¾ß ÇÑ´Ù !!!
# Named Base VirtualHost Include
include /etc/httpd/conf/vihost.conf }}}
2. /etc/httpd/conf.vihost.conf{{{
ServerAdmin webmaster@enterprise1.co.kr
ServerName www.enterprise1.co.kr
ServerAlias www.enterprise1.co.kr enterprise1.co.kr
DocumentRoot /var/www/html
ErrorLog logs/enterprise1_error_log
CustomLog logs/enterprise1-access_log common
ServerAdmin webmaster@enterprise1.co.kr
ServerName www.sunnyedu.com
ServerAlias www.sunnyedu.com sunnyedu.com
DocumentRoot /var/www/sunny
ErrorLog logs/www.sunnyedu_error_log
CustomLog logs/www.sunnyedu-access_log common
ServerAdmin webmaster@khameth.com
ServerName www.khameth.com
ServerAlias www.khameth.com khameth.com www.khameth.com
DocumentRoot /var/www/khameth
ErrorLog logs/www.khameth_error_log
CustomLog logs/www.khameth-access_log common
ServerAdmin webmaster@donglimwood.co.kr
ServerName www.donglimwood.co.kr
ServerAlias www.donglimwood.co.kr donglimwood.co.kr
DocumentRoot /var/www/donglim
ErrorLog logs/www.donglim_error_log
CustomLog logs/www.donglim-access_log common
}}}