Change a cPanel account's primary domain document root
One step with cPanel. We can help you get access.
Get something done
Change a cPanel account's primary domain document root
with cPanel
Use cPanel: its WHM Account Management API lets you change a cPanel account's primary domain document root in a single step (GET /set_primary_domain_docroot). capabilities.work can help you get signed up and connected.
- How do I move a cPanel account's primary domain to a new document root?
- Does changing the primary domain root move the files?
Say it to your AI assistant
- Set the primary domain of {username} to document root {docroot}.
- Change {username}'s primary domain root to {docroot}.
For your developer
GET /set_primary_domain_docroot in WHM Account Management API. Full spec on APIs.io.