Community Forums
Connect with us on LinkedIn

View Poll Results: is there any better alternative for cPanel

Voters
1. You may not vote on this poll
  • anyone can recommence?

    1 100.00%
  • thanks a lot

    0 0%
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Default How to replace Main domain in Cpanel?

    Hi,I am new in cpanel. my main domain had expired but I not wish to renew it. would it affected the rest of my subdomain like unfunction..? If so, can I replace the main domain with the subdomain name? and appreciate if someone can guide me through the step by step..

    Thanks in advance!

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    If your domain expires, any subdomains will also quit working. For example, if you have myexample.com, and it expires and you do not renew it, then subdomain1.myexample.com and subdomain2.myexample.com will also stop working. This is because they are subdomains, not domains, and they do not stand alone at the registrar.

    You can change the domain associated with an account in the WebHost Manager at Main >> Account Functions >> Modify an Account.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Default

    I am sorry Jared, mistake here. Is not subdomain, is add on domain.

    Is the add on domain stand alone at the registrar even my main domain expired?

    Or can I swift my add on domain to main domain in my cPanel (hosting) without any impact to my website as currently operate globally.

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default

    The domains' registration at the registrar has nothing to do with their status in cPanel. What nameservers are you using for the addon domain? If you are using the current main domain's nameservers, you will need to change the nameservers that are used to host the domain. Otherwise, nothing in cPanel will be affected by the main domain expiring.

    If you want to use the current addon domain as the account's main domain, and completely remove the current main domain, you can do the following:

    • Back up the account in question before making any changes.
    • In the account's cPanel, remove the addon domain. This will not remove the subdirectory that contains the addon domain's site content.
    • In the WebHost Manager, use Main >> Account Functions >> Modify an Account to change the domain name associated with the account in question.
    • Move your site content from the addon domain's subdirectory to the public_html directory.
    • Recreate any e-mail addresses and FTP users that belong to the domain that was the addon domain.

    Again, I strongly advise backing up the account before proceeding. You can do this from the shell as root with the following command:

    Code:
    # /scripts/pkgacct cpanelaccount
    where "cpanelaccount" is replaced with the actual cPanel account username.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  5. #5
    Member
    Join Date
    Apr 2007
    Posts
    59

    Default Re: How to replace Main domain in Cpanel?

    Hi,

    I have a similar situation except the domain about to expire is the "main" domain.

    maindomain.net will expire but maindomain.com will not and is parked on maindomain.net.

    Will maindomain.com continue to work in this situation?

    Thanks

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to replace Main domain in Cpanel?

    The parked domain should continue to work, but it should be a simple matter to simply delete the parked domain in cPanel, then make that domain the main domain in WHM > Modify an Account area.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Apr 2007
    Posts
    59

    Default Re: How to replace Main domain in Cpanel?

    Thank you!

Similar Threads & Tags
Similar threads

  1. How to get the main domain through the cPanel API
    By mberchtold in forum cPanel Developers
    Replies: 4
    Last Post: 04-02-2009, 01:34 PM
  2. Upgrade of CPANEL caused Main domain Down
    By bradyb in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-21-2008, 01:33 PM
  3. Can I use cPanel for the server's main domain?
    By sneader in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-20-2003, 11:55 PM
  4. EXIM - Replace servername with actual sender domain name?
    By sitehostz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-24-2003, 02:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube