리눅스에서 계정별 아이피를 적용하여 ...,

· 13년 전 · 1622
리눅스에서 계정별로 아이피를 적용하여 운영할려 하는데요,,

예를 들어 190.222.222.1~ 190.222.222.5 아이피가 있다고 하면
virtualhost 에서


<VirtualHost *:80>
ServerAdmin admin.190.222.222.1
DocumentRoot "/home/a/"
ServerName 190.222.222.1
ServerAlias 190.222.222.1
ErrorLog "logs/a-error_log"
CustomLog "logs/a-access_log" common
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin.190.222.222.2
DocumentRoot "/home/b/"
ServerName 190.222.222.2
ServerAlias 190.222.222.2
ErrorLog "logs/b-error_log"
CustomLog "logs/b-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin.190.222.222.3
DocumentRoot "/home/c/"
ServerName 190.222.222.3
ServerAlias 190.222.222.3
ErrorLog "logs/c-error_log"
CustomLog "logs/c-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin.190.222.222.4
DocumentRoot "/home/d/"
ServerName 190.222.222.4
ServerAlias 190.222.222.4
ErrorLog "logs/d-error_log"
CustomLog "logs/d-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin.190.222.222.5
DocumentRoot "/home/e/"
ServerName 190.222.222.5
ServerAlias 190.222.222.5
ErrorLog "logs/e-error_log"
CustomLog "logs/e-access_log" common
</VirtualHost>

이렇게 설정하니 아이피로 접속하니 정상적으로 접속이 되더군요,,

그래서 계정 아이디별 운영자에게 자신의 계정에 연결된 아이피를 알려주고,,
가비아에서 네임플러스를 이용하여 연결하도록 하였습니다,
그런대 전부 190.222.222.1
아이피의 계정으로 접속이 되더군요,,,


뭔가 제가 빠트린게 잇는것 같은데,, 음,,,

계정별로 도메인 구매 할때마다 제가 virtualhost 에 도메인을 등록해줄수도 없고

뭐가 문제 인걸까요?


고수님들 도와주세요^^
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 1,001
13년 전 조회 1,633
13년 전 조회 989
13년 전 조회 976
13년 전 조회 2,244
13년 전 조회 982
13년 전 조회 1,040
13년 전 조회 1,358
13년 전 조회 1,083
13년 전 조회 1,623
13년 전 조회 1,062
13년 전 조회 1,163
13년 전 조회 989
13년 전 조회 1,306
13년 전 조회 966
13년 전 조회 1,565
13년 전 조회 1,141
13년 전 조회 1,316
13년 전 조회 1,222
13년 전 조회 1,608