•  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
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  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
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

¿Cómo actualizar la ruta del documento raíz para un sitio web en cPanel?

  • Home
  • Client
  • Qa Forum
  • ¿Cómo actualizar la ruta del documento raíz para un sitio web en cPanel?

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

Estoy intentando cambiar la trayectoria de la raíz del Web site en cPanel. En lugar de cargar archivos de public_html, me gustaría establecer la ruta del documento raíz a / public_html / folder / folder

¿Cómo lograr esta configuración?

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

  • How To Secure cPanel?
  • How to free up disk space on a cPanel server
  • Servidor dedicado cPanel administrado
  • Lo más paneles de control de alojamiento para Linux
  • What are different types of web hosting servers?
  • Panel de control de alojamiento web
  • Best Web Hosting Control Panel
  • Alternativas a cPanel
  • EasyApache 4: mejor que nunca?
  • Best 10Gbps Unmetered Dedicated Servers - Top 10 List
  • Reference Architecture - Dedicated Server Deployment
  • How to temporarily/permanently enable DDoS IP diversion for a Single IP Address?
  • s3Express Guide
  • Best Dedicated Server Providers In Dallas: A Comprehensive Guide
  • Best Dedicated Server Providers in Los Angeles: Top 10 List
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • 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
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