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>
제목 | 날짜 | ||
---|---|---|---|
551 | [텔넷] tbz2/tar.bz2 압축, 압축 해제 | 2093 | 2017/05/30 |
550 | [Nginx] [Nginx+Rewriterule] apache / nginx 에서 .php 생략하기 | 330 | 2017/05/30 |
549 | [리눅스서버] [CentOS] 가비아 서버 사용법 | 0 | 2017/05/06 |
548 | [리눅스서버] Got a packet bigger than 'max_allowed_packet' bytes 문제 | 237 | 2017/05/05 |
547 | [리눅스서버] nginx upstream 성능 최적화 | 120 | 2017/04/24 |
546 | [사이트관리] 사이트 실시간 접속자 체크 스크립트 | 360 | 2017/04/19 |
545 | [리눅스서버] 리눅스 소켓 접속 수 제한 풀기 | 837 | 2017/04/18 |
544 | [리눅스서버] upstream 500 에러 / 오류 잡기 / socket 제한 | 251 | 2017/04/18 |
543 | [윈도우서버] 윈도우 서버 2016 | 135 | 2017/04/17 |
542 | [윈도우서버] vultr 에 윈도우 서버 iso 사용하기 | 714 | 2017/04/17 |
541 | [리눅스서버] 웹서버 nginX 이미지 등의 외부링크 막기 | 269 | 2017/04/16 |
540 | [리눅스서버] [vultr] 트래픽 초과 요금 산정 기준 | 589 | 2017/04/16 |