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>
제목 | 날짜 | ||
---|---|---|---|
599 | [리눅스서버] ./configure : /bin/sh^M : bad interpreter [duplicate] | 145 | 2018/07/29 |
598 | [기타] G Suite - | 0 | 2018/07/26 |
597 | [MySQL] MySQL 사용자 테이블 생성 및 연결하기 | 93 | 2018/06/24 |
596 | [Nginx] [Nginx] Rewriterule 서브 도메인 입력시 하위 디렉토리로 이동하기 | 501 | 2018/05/15 |
595 | [Nginx] https가 아닐 경우 https로 리다이렉트하는 방법 | 170 | 2018/04/25 |
594 | [Nginx] nginx-redirects-http-to-https-and-www-to-non-www | 79 | 2018/04/21 |
593 | nginx https redirect www to non-www | 231 | 2018/04/04 |
592 | [리눅스서버] mysql strict mode 끄기 | 888 | 2018/03/29 |
591 | [리눅스서버] Ubuntu php7.0-fpm 세팅 중 오류 | 76 | 2018/03/25 |
590 | [리눅스서버] Ubuntu 16.04 | root 계정으로 로그인하기, root 계정으로 ssh 접속하기 | 91 | 2018/03/21 |
589 | [MySQL] Mysql Join 해부(Left, Right, Outer, Inner Join) | 154 | 2018/01/03 |
588 | HTTrack Website Copier 한글 언어팩 | 603 | 2018/01/03 |