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>
제목 | 날짜 | ||
---|---|---|---|
563 | [메뉴얼] 전자책, ebook 형태 게시판 만들기 (퍼옴) | 200 | 2017/09/25 |
562 | [윈도우] 윈도우 데스크톱 200% 활용하기: 무료 툴 Top 25 | 200 | 2020/07/29 |
561 | [가상윈도우] Nginx 서브디렉토리 index 파일을 못 가져와요. | 206 | 2017/06/25 |
560 | [브라우저] [파이어폭스] jjDicTrans : 간단한 영한사전+번역 | 208 | 2015/08/12 |
559 | 클라우드플레어와 HTTPS 적용 | 210 | 2017/08/17 |
558 | [Apm] 오토셋에서 mysql 명령어 입력하기 | 212 | 2018/12/10 |
557 | [아임웹] 아임웹 - 모바일 메뉴 하단에 SNS 아이콘 추가하는 코드 | 224 | 2024/03/15 |
556 | [리눅스서버] HTTP 웹 성능 개선하기 | 228 | 2020/07/02 |
555 | [Nginx] NGINX PHP 파일 업로드 용량 | 229 | 2018/12/16 |
554 | nginx https redirect www to non-www | 231 | 2018/04/04 |
553 | [리눅스서버] Got a packet bigger than 'max_allowed_packet' bytes 문제 | 237 | 2017/05/05 |
552 | [리눅스서버] upstream 500 에러 / 오류 잡기 / socket 제한 | 251 | 2017/04/18 |