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.

Changing the Domain Name of a Site

Discussion in 'General Discussion' started by ianb, Apr 13, 2014.

  1. ianb

    ianb Registered

    Joined:
    Apr 13, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I am hosting some sites for a Scout District. One of my groups wants to change the domain name of their site from site.domain.com to site2.domain.com (just example names)

    I have signed into my CPanel WebHost Manager as specified on various posts on this forum but under Account Functions I only have the options -

    "Create a new account"
    "Force Password Change"
    "Manage Account Suspension"
    "Modify Suspended Account Page"
    "Password Change"
    "Skeleton Directory"
    "Terminate Account"
    "Upgrade / Downgrade Account"
    "Web Template Editor"

    There is no option to 'Modify Account'.

    I have searched everywhere to try to change the domain name but the only way that I can see is to create them a new site with the new domain name and once they have copied all their pages over delete the original.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    As a Reseller, you may not have access to certain features of WHM. If I understand you correctly, you want to rename a Subdomain though. If true, no need for WHM access at all.

    In the users cPanel account, go to cPanel > Domains > Subdomains, Modify a Subdomain section, find site.domain.com listed there. Click, Remove. Deleting this from there, will only remove it from being used, but should not delete the directory where the original site was located, in the site/ directory. Under normal circumstance found here: public_html/site/

    Next, via cPanel File Manager for example, find that directory inside public_html/ and rename it: site/ to site2/

    Next, back in cPanel > Domains > Subdomains, Create a Subdomain section, create the new Subdomain, site2, and click Doc root box, and the directory should be automagically selected for you: public_html/site2, already. Click Create.

    You might want to do a Full Website Backup first, just in case you make a mistake somewhere, first.
     
Loading...

Share This Page