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>
제목 | 날짜 | ||
---|---|---|---|
263 | [기본] 탐색기 파일 목록 텍스트로 저장하기 | 7674 | 2007/10/23 |
262 | [사이트관리] 서브도메인을 라온넷에 연결하기 | 7693 | 2012/12/03 |
261 | [모바일] 스마트폰 어플계의 '히든 챔피언'을 소개합니다 [2] | 7791 | 2012/09/05 |
260 | [기본] SnagIt, Camtasia 무료 배포 | 7820 | 2007/12/04 |
259 | [기본] 플래시 시계 [2] | 7827 | 2007/12/10 |
258 | [하드웨어] 아이락스 키보드 구매기 | 7838 | 2009/05/10 |
257 | [하드웨어] V840 컴퓨터와 연결하기 | 7879 | 2009/05/17 |
256 | [모바일] 다음 웹툰 앱 등장! | 7887 | 2013/06/10 |
255 | [하드웨어] 아버지 컴퓨터 사양 | 7888 | 2007/10/07 |
254 | [브라우저] 파이어폭스 설치된 플러그인을 다른 컴퓨터에서도 사용하는 방법 | 7896 | 2007/10/27 |
253 | [웹로그] 초보자 파이어폭스 사용하기 및 기본적인 추천플러그인 (작성 중 임시) | 7903 | 2007/10/07 |
252 | [생활] CGV/롯데시네마/메가박스/프리머스 영화 싸게보는법! 재밌는 영화, 할인받아보자 | 7904 | 2013/12/16 |