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>
제목 | 날짜 | ||
---|---|---|---|
539 | [리눅스서버] 계정등록(adduser) 기능 및 옵션, 계정 변경(usermod) | 325 | 2017/10/28 |
538 | [유틸리티] [FreeCommander] 컬러 스키마 변경 | 327 | 2020/01/12 |
537 | HTML/CSS 스크롤바 숨기기 없애기 (스크롤 동작) | 328 | 2021/09/01 |
536 | [사이트관리] SEO 작업 | 328 | 2017/12/04 |
535 | [Nginx] [Nginx+Rewriterule] apache / nginx 에서 .php 생략하기 | 330 | 2017/05/30 |
534 | [브라우저] 유투브 공유하기 자동재생 설정(웨일, 크롬) | 332 | 2019/04/06 |
533 | [웹 제작] 검색 엔진과 매개변수 | 348 | 2015/08/25 |
532 | [윈도우서버] 오토셋 아파치 에러로그 확인하기 | 350 | 2020/02/14 |
531 | [Apm] autoset 500 Internal Server Error | 357 | 2018/12/04 |
530 | [사이트관리] 사이트 실시간 접속자 체크 스크립트 | 360 | 2017/04/19 |
529 | [PHP] phpmyadmin 서버 에러가 감지되었습니다. [1] | 372 | 2020/04/06 |
528 | [Nginx] Nginx 모니터링 툴 | 400 | 2017/10/23 |