•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
    • Status
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

cPanel에서 웹 사이트의 루트 문서 경로를 업데이트하는 방법은 무엇입니까?

  • Home
  • Client
  • Qa Forum
  • cPanel에서 웹 사이트의 루트 문서 경로를 업데이트하는 방법은 무엇입니까?

Posted By: Andrew | 1 Replies | Last Reply On: Apr 10, 2017 08:54:39

cPanel에서 웹 사이트 루트 경로를 변경하려고합니다. public_html에서 파일을로드하는 대신 루트 문서 경로를 / public_html / folder / folder로 설정하고 싶습니다.

이 설정을 수행하는 방법은 무엇입니까?

Psychz - Mark

Votes: 0Posted On: Apr 10, 2017 08:54:39
 

You will need to log into the server as root and perform the following -

  1. Login as root

  2. vi /var/cpanel/userdata/USERNAME/DOMAIN.COM
  3. Press "i" for Vi editor and edit the line with "documentroot:" path and save the file using "esc + :wq"

  4. vi /var/cpanel/userdata/USERNAME/DOMAIN.COM_SSL
  5. Make similar changes to make sure it works for SSL

  6. /scripts/rebuildhttpdconf
  7. service httpd restart

Was this reply helpful?

Related topics

  • 윈도우 VS 리눅스 : 비교
  • 어떻게 주문을 취소 할 수
  • 암호화 솔루션 선택시 고려할 사항
  • 당신의 IP에서 누군가가 내 VDSL 모뎀에 액세스하려고?
  • 달 청구에 한달에 코 로케이션인가?
  • s3Express Guide
  • India, Imposing Localization of Data Storage.
  • How to clone and migrate a Linux hard drive to another server?
  • Devices Intro
  • Dallas Dedicated Servers: Why Centralized Hosting Delivers Better Performance Across the USA
  • Customize Dedicated Server
  • Create SRV Record
  • Complete Guide To Psychz's CDN
  • CDN and Load Balancer: Ultimate combination for efficient content delivery
  • 1/2 Rack Colocation
Copyright © 2026 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
  • Catalog
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
  • Status
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801