Skip to main content

How do I point CPanel account to specific file folder for a domain and set up new domains?

Comments

3 comments

  • Infopro
    #4 Not sure what that means or if its even a question. #5 If you're managing them all, setting them up as Addon domains makes things a bit easier for you. Login once and manage them all. #6 Under the Addon Domains section of your cPanel, you can modify the domain doc root. The main domain used for the cPanel account, does not have this option. Not sure what you mean by new versions, assuming staging new site, it might be easier to setup a stage of the new site in a directory, instead of changing doc root. #5b You create new accounts via WHM. Documentation on that can be found here: Create a New Account - cPanel Documentation
    0
  • Mike Santner
    Thank you, infopro. I was simply trying to explain that I have 2 domains correctly set up, but I have no idea how to change where they point to in my server file structure. What I mean by "new versions" is I'm switching one site from Wordpress to straight HTML, meaning the domain must point to an entirely new directory. The other sites are switching from their PHP, etc., to an entirely new template with HTML in an entirely new directory. (I have to keep the old ones temporarily for backup purposes, or I would just delete them). My understanding is that creating a new account is supposed to automatically create a new folder with whatever domain or user name you create for it, in the HOME directory. However, I have not found that to be the case. So it sounds like you're telling me to create just one account, and have all add-on domains for the rest, so I can control where they each point to in the file structure. I thought I needed a separate account for each domain?
    0
  • Infopro
    If you have your website currently at domain.com, and you're moving to an html site, you could create the new site at domain.com/stage/ for example. When the new site is completed, move/remove the current site out from /public_html/ and then move the new site from /stage/ to /public_html/ My understanding is that creating a new account is supposed to automatically create a new folder with whatever domain or user name you create for it, in the HOME directory. However, I have not found that to be the case.
    You'll need to expand on that comment a bit, as that is the intended behavior. So it sounds like you're telling me to create just one account, and have all add-on domains for the rest, so I can control where they each point to in the file structure. I thought I needed a separate account for each domain?
    It was a suggestion/reply to your post, item #5.
    0

Please sign in to leave a comment.