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>
제목 | 날짜 | ||
---|---|---|---|
503 | [윈도우서버] vultr 에 윈도우 서버 iso 사용하기 | 714 | 2017/04/17 |
502 | [Apm] 오토셋(autoset) 설치할 때 “MSVCR110.DLL” 문제 | 766 | 2015/08/29 |
501 | [GitHub] 카페24에서 github 다운로드 받는 방법 | 773 | 2018/08/02 |
500 | [엑셀] [엑셀]티켓 출력하기(일련번호 출력)-1 | 811 | 2019/02/03 |
499 | 리눅스 cp 명령어 사용법 정리 (파일, 디렉토리 복사, 백업) | 814 | 2020/12/12 |
498 | [윈도우] Windows 10 사용 중 DISM 도구 사용 시 0x800f081f 오류 | 826 | 2020/07/29 |
497 | [윈도우서버] [autoset] Autoset (오토셋) - MySQL「서버를 시작하지 못했습니다」에러 해결 (= Autoset, DB접속에러, 서버실행오류,Warning: mysqli_connect(): in ..Error, Connect Error:) | 833 | 2020/02/15 |
496 | [리눅스서버] 리눅스 소켓 접속 수 제한 풀기 | 837 | 2017/04/18 |
495 | [윈도우] svg viewer - 탐색기에서 바로 svg 아이콘 이미지로 보는 방법 | 888 | 2020/08/10 |
494 | [리눅스서버] mysql strict mode 끄기 | 888 | 2018/03/29 |
493 | [GitHub] 깃허브 오류 해결.. | 997 | 2015/06/29 |
492 | [엑셀] 무료 Excel 용 Kutools(Kutools for Excel) 대체 프로그램 8개 | 998 | 2019/02/03 |