intra.st.kr or mail2.st.kr 연결 오류시 확인하자
cd /etc
    resolv.conf
       ip 변경
cd /etc/bind
    st.kr.zone
       intra 추가
경로설정
외부에서 확인 가능 : st.kr > /var/www/html > root (외부용)
내부에서만 확인 가능 : intra.st.kr > /home/st/public_html
    현재는 st.kr/~st 라고 경로 설정 해줘야 /home/st/public_html로 연결된다. Bootstrap Example
forbidden 해제
su st
chmod 711 $HOME
chmod 755 ~/public_html
Bootstrap Example
호스팅 설정
dns > 웹 설정 문제 > 설정 필요
su
cd /etc/apache2/sites-available
nano hosting.conf
a2ensite hosting
systemctl reload apache2
/var/www/html
nano index.html
    index.html 페이지에 out 현출 확인!
Bootstrap Example
계정 생성
cd /etc/skel
mkdir public_html
cd public_html
mkdir includes
mkdir auth
mkdir logs
touch index.html
touch index.php
(유추 가능한 디렉토리명, 파일명은 nikto로 탐지될 위험 있으므로 주의)