The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to change main domain contect with cPanel

Discussion in 'General Discussion' started by Fauzi17, Nov 11, 2012.

  1. Fauzi17

    Fauzi17 Registered

    Joined:
    Nov 11, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello.

    Before i have assigning a main domain for my website, and automatically have put my website content on /home/my_name/public_html/ of course with CPanel's GUI, but currently i want to change or reassign other website to my assigned main domain, what the best way for practice, whether just replace contect of /home/my_name/public_html/ with linux's command or CPanel have elegant way for do that ?

    Thanks
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I am not sure exactly what you want to do. Do you just want to change the domain associated with a cPanel account? If so, you can do that by clicking, in the WebHost Manager, Home » Account Functions » Modify an Account. Do not try to do it by editing any files manually.

    If you just want to change the contents of the site, and leave the domain the same, then yes, just edit the files in /$HOME/$USER/public_html, where:

    • $HOME = the actual home directory, and;
    • $USER = the actual cPanel user
     
Loading...

Share This Page