2개의 ip와 2개의 도메인으로 2개의 홈피를 돌릴려고 하는데 안되네요
작성자 정보
- 위해사랑 작성
- 작성일
컨텐츠 정보
- 2,789 조회
- 0 추천
- 목록
본문
네트웍은 두개의 ip로 셋팅을 했습니다....eth0 , eth0:0
eth0 Link encap:Ethernet HWaddr 00:26:18:AA:41:C3
inet addr:210.51.163.86 Bcast:210.51.163.127 Mask:255.255.255.192
inet6 addr: fe80::226:18ff:feaa:41c3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49909046 errors:0 dropped:0 overruns:0 frame:0
TX packets:46217767 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2745120283 (2.5 GiB) TX bytes:3785966874 (3.5 GiB)
Interrupt:233
eth0:0 Link encap:Ethernet HWaddr 00:26:18:AA:41:C3
inet addr:210.51.163.80 Bcast:210.51.163.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:233
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3537774 errors:0 dropped:0 overruns:0 frame:0
TX packets:3537774 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:275271064 (262.5 MiB) TX bytes:275271064 (262.5 MiB)
httpd.conf 에서 가상호스팅 설정은
Listen 8080
NameVirtualHost 210.51.163.80
NameVirtualHost 210.51.163.86
<VirtualHost 210.51.163.86>
DocumentRoot /home/xxxx/www
ServerName ccccc.com
<Directory "/home/xxxx/www">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
<VirtualHost 210.51.163.80>
DocumentRoot /home/xxxx2/www
ServerName ddddd.com
<Directory "/home/xxxx2/www">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
이렇게 했는데
전에 210.5163.86만 사용하다가 ip추가하고 새로운 홈피 올려서
하려고 했더니 안되네요
고수님들 가르쳐주세요
뭐가 문제인지
관련자료
-
이전
-
다음