How to set up an Addon Domain to use an existing Subdirectory/Subdomain's Document Root in DirectAdmin

Taracenasite

New member
Joined
Oct 27, 2025
Messages
1
Hello everyone,

I need to link a new domain (cafeteriasolarcr.com) to serve the content of an existing subdomain configured in DirectAdmin, without using a permanent redirect (I want the URL cafeteriasolarcr.com to remain visible in the browser).

The original subdomain is cafeteria.tiqui.site, and its Document Root is likely:

/domains/cafeteria.tiqui.site/public_html/

What is the cleanest procedure within DirectAdmin (User Level or Admin/Reseller Level if necessary) to have cafeteriasolarcr.com point to that exact same path?

Any guidance or configuration snippet would be highly appreciated. Thank you!
 
Admin Level - Custom Httpd ....

then using programming language to customize the template token to change the docs root.

if you using nginx_apache, you must customize in the both place.
 
Back
Top