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>
제목 | 날짜 | ||
---|---|---|---|
35 | [웹 제작] css hover underline center to side | 67 | 2020/04/16 |
34 | [리눅스서버] 리눅스 iptables IP 차단 | 69 | 2020/04/16 |
[윈도우서버] xampp 로컬테스트 계정 생성 | 118 | 2020/04/20 | |
32 | [윈도우서버] [xampp] rhymix 라이믹스 설치 | 537 | 2020/04/20 |
31 | [GitHub] warning: LF will be replaced by CRLF in hello1.txt. | 194 | 2020/05/09 |
30 | [기타] 오픈소스 라이센스에 대하여 | 322 | 2020/05/09 |
29 | [리눅스서버] HTTP 웹 성능 개선하기 | 228 | 2020/07/02 |
28 | [윈도우] Windows 10 사용 중 DISM 도구 사용 시 0x800f081f 오류 | 826 | 2020/07/29 |
27 | [윈도우] 오류 CLOCK_WATCHDOG_TIMEOUT : 발생 원인 및 방법 | 1667 | 2020/07/29 |
26 | [윈도우] 윈도우 데스크톱 200% 활용하기: 무료 툴 Top 25 | 200 | 2020/07/29 |
25 | [윈도우] svg viewer - 탐색기에서 바로 svg 아이콘 이미지로 보는 방법 | 888 | 2020/08/10 |
24 | 무료환율 api | 0 | 2020/08/18 |