Untitled-16.gif

 

centos 가 설치된 서버인데

vhost 파일이 어디있는지 알수있을까요?

 

서브도메인으로 연결할게 있는데 ㅜ

 

검색해보니

/etc/httpd/conf.d/vhost.conf   

conf/extra/httpd-vhosts.conf

/usr/local/apache/conf/extra/httpd-vhosts.conf /root/conf/httpd-vhosts.conf

 

이쪽에 하나 만들고 리부팅해야되는건 궁금합니다.

  • profile
    Yum 으로 http를 설치 하셨다면 /etc/httpd/conf.d/vhost.conf 파일에 서브도메안을 추가해 주시면 됩니다.
  • profile profile

    Untitled-11.gif

    감사합니다.^^

  • profile profile
    안녕하세요 아파치님 한번더 질문을 드리면

    vhost 파일을 ftp로 받은다음 다시 업로드 시켰는데

    적용을 할려면 부팅? 아니면 다시 시작을 해야될것같은데

    어떤식으로 적용을 해야되는지요?
  • profile
    Shell 에서 service httpd restart 또는 reload 하시면 됩니다.
  • profile profile
    답장감사합니다.