Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

re-pointing a subdomain to another account

Discussion in 'General Discussion' started by taproot, Jan 12, 2009.

  1. taproot

    taproot Well-Known Member

    Aug 22, 2008
    Likes Received:
    Trophy Points:

    I want to setup a subdomain for a client and then re-point it to their directory. So for example I have and he will be moving over a domain later so he has is own directory in /home/client/ I want to setup a subdomain like that points to /home/client/www/

    I know I can manually edit the httpd.conf file to do this, but how can I do it through cpanel so that it does not get overwritten next time I add a new newdomain or something.

    Basically how can I do custom edits in httpd.conf to client virtual host blocks :)

  2. MaestriaNick

    MaestriaNick Well-Known Member

    Aug 6, 2008
    Likes Received:
    Trophy Points:
    Cpanel is not providing any way to edit httpd.conf manually. If you fear that any edit in httpd.conf fill overwrite your modification, better way to get ride of it is to use Include files. means, you setup or add your custom virtual host in a seperate file and include that file in httpd.conf. Please take care and avoid situation of having multiple entries.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice