1. 테스트할 계정 주소를 등록한다.
C:\Windows\System32\drivers\etc\hosts
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
::1 localhost
127.0.0.1 localhost
127.0.0.1 123.localhost
127.0.0.1 1234.localhost
127.0.0.1 12345.localhost
127.0.0.1 123456.localhost
127.0.0.1 1234567.localhost
127.0.0.1 12345678.localhost
127.0.0.1 123456789.localhost
127.0.0.1 1234567890.localhost
127.0.0.1 whatfishisit.localhost
127.0.0.1 whatfish.com
127.0.0.1 localhost.com
127.0.0.1 dev.localhost
127.0.0.1 xe.localhost
127.0.0.1 rx.localhost
# 127.0.0.1 whatfish.com
# 127.0.0.1 dev.localhost.com
# 127.0.0.1 whatfishisit.com
# 127.0.0.1 www.whatfishisit.com
# 127.0.0.1 localhost/dev
# 127.0.0.1 whatfish.localhost
# 127.0.0.1 whatfish.localhost.com
2.
D:\xampp\apache\conf\httpd.conf
DocumentRoot "D:/web/eond/dev"
<Directory "D:/web/eond/dev">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
DocumentRoot "D:/web/eond/rhymix"
<Directory "D:/web/eond/rhymix">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Deny from all
</Directory>
DocumentRoot "D:/web/home/rx"
<Directory "D:/web/home/rx">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
DocumentRoot "D:/web/home/xe"
<Directory "D:/web/home/xe">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
3.
D:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "d:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/eond/dev"
ServerName dev.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/apps/wordpress/htdocs"
ServerName wordpress.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/web/eond/rhymix"
ServerName localhost/rhymix
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/home/rx"
ServerName rx.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/home/xe"
ServerName xe.localhost
</VirtualHost>
제목 | 날짜 | ||
---|---|---|---|
107 | [윈도우] 복구 콘솔을 하드에 설치하는 방법 | 11079 | 2008/08/30 |
106 | [텔넷] SSH 사용방법 - 리눅스 명령어 | 11107 | 2004/05/07 |
105 | [윈도우] 키보드로 클릭 대신하기 | 11125 | 2013/06/11 |
104 | [모바일] [안드로이드]할일 관리 어플, GTasks [1] | 11129 | 2011/11/14 |
103 | [기타] 각 포털사이트 별 서비스 비교 | 11152 | 2004/05/26 |
102 | [네트워크] 윈도우98 이용하는 컴에서 윈도우2000 이용하는 컴에 들어가는 방법 | 11163 | 2003/10/06 |
101 | [사이트관리] robots.txt 작성방법 | 11210 | 2009/07/01 |
100 | [미디어/녹음·재생] 윈도8 태블릿용 팟플레이어 추천 스킨 : 매트로X | 11260 | 2013/06/22 |
99 | [웹로그] BlogAPI를 이용해서 제로보드XE에 글 올리기 | 11275 | 2007/11/18 |
98 | [모바일] 에코모바일 3G접속과 MMS수신을 위한 APN설정 | 11335 | 2013/06/13 |
97 | [윈도우] '날씬하고 날렵하게' 윈도우7 최적화 실용 팁테크 | 11361 | 2011/11/23 |
96 | [웹로그] 알약 설치 후 - AYServiceNT.aye 라는 서비스는 왜 자동 시작되는 걸까? [3] [2] | 11378 | 2007/11/12 |