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>
제목 | 날짜 | ||
---|---|---|---|
599 | [리눅스서버] 리눅스 디렉토리별 용량 체크하는 방법 | 114 | 2020/11/26 |
598 | [리눅스서버] 리눅스 마운트 퍼미션 | 117 | 2017/06/17 |
597 | [윈도우서버] robots.txt 인식이 안될 경우. | 118 | 2019/02/27 |
[윈도우서버] xampp 로컬테스트 계정 생성 | 118 | 2020/04/20 | |
595 | [리눅스서버] nginx upstream 성능 최적화 | 120 | 2017/04/24 |
594 | [리눅스서버] 서버 locale 설정 | 122 | 2017/03/31 |
593 | [윈도우] 갑자기 윈도우10 알트탭(alt + tab)이 정상 사용 안될 때 확인 및 처리 방법? : 네이버 포스트 (naver.com) | 124 | 2023/03/17 |
592 | [리눅스서버] adduser 원하는 디렉토리에 유저 생성하기 | 126 | 2017/06/23 |
591 | [엑셀] 엑셀 vba 공부할 수 있는 사이트 | 126 | 2019/02/04 |
590 | [jQuery] 텍스트 추출해서 링크 변환하기 | 130 | 2021/12/25 |
589 | [텔넷] tar, bz2 압축 과 압축해제 | 131 | 2017/06/07 |
588 | [브라우저] 브라우저 중복 즐겨찾기 정리 프로그램 | 135 | 2015/10/06 |