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>
제목 | 날짜 | ||
---|---|---|---|
23 | [리눅스서버] 리눅스 디렉토리별 용량 체크하는 방법 | 114 | 2020/11/26 |
22 | [윈도우] 윈도우 이 항목을 찾을 수 없습니다 삭제 방법 | 68 | 2020/11/29 |
21 | [리눅스서버] 수천 개의 파일이 포함 된 큰 디렉토리를 효율적으로 삭제 | 64 | 2020/12/07 |
20 | [리눅스서버] 리눅스 폴더별압축 디렉토리별 압축 | 1058 | 2020/12/12 |
19 | 리눅스 cp 명령어 사용법 정리 (파일, 디렉토리 복사, 백업) | 814 | 2020/12/12 |
18 | [GitHub] 간단한 깃 사용법 | 13 | 2021/02/01 |
17 | xampp mysql 명령어 터미널에서 실행하는 방법 | 540 | 2021/02/05 |
16 | HTML/CSS 스크롤바 숨기기 없애기 (스크롤 동작) | 328 | 2021/09/01 |
15 | [jQuery] 텍스트 추출해서 링크 변환하기 | 130 | 2021/12/25 |
14 | [GitHub] git의 .gitignore 사용방법 | 111 | 2021/12/29 |
13 | [GitHub] 이미 push된 file .gitignore 적용하기 | 74 | 2022/01/01 |
12 | [GitHub] 좋은 git 사용 습관 | 274 | 2022/01/01 |