Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    3

    Post Redirecting Sub Domain To Another Account

    I am really unfamiliar with whm / cpanel and wondering if this is possible. On the server of the business I work for we have multiple sites hosted and managed in the whm. What we want to do is set up basically a development account. Basically I want to be able to create a sub domain of an account in the whm and then temporarily associate it with the directory of the new account I created. For instance

    www.newclientsname.oururl.com and have this temporarily be associated with the account we create. Then when development is finished I want to change the url to their url.

    Is this possible? If so how would I do it. I understand / know how to configure an apache web server, but cpanel / whm are somewhat new to me. Thanks

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    I think you can do this. Via WHM, you have already an account named yourdomain.com and you want to create a new account using yourdomain.com but this is a separate account, correct?

    To keep them separated, you could create a new package (just for organizing things better) and then create a new account and give it that special package, this new account can be named client123.yourdomain.com

    Doing so you now have a cPanel account for yourdomain.com with package plan1 and a separate login/account for client123.yourdomain.com using package plan2.

    So far so good. Next, you get done working with client123 and it's time to give them their own cPanel account, they already have one this way though, you just need to do a domain name change.

    client123 should set their nameservers to your server at this point so that client123.com is pointing to you and then in WHM find Modify an Account, select client123.yourdomain.com and then edit the domain name there to client123.com, set the package appropriately and save.

    That should work.

    You might want to setup a dummy account and test first in advance of exposing this to client123 so you know what happens later when you actually do it on a live account someone is waiting on.

    GL!
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    3

    Smile

    Thanks,

    I'll give this a shot tommorow and let you know how it goes. I really appeciate your help. One more question though, would I first create the subdomain in cpanel for the main account, or would I just assign the account this name in WHM and subdomain would be created?

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    No, you won't be doing anything with the main account. In other words, if you only had one account shown in your WHM under List Accounts: yourdomain.com, when you're done with the above, you'd then have 2 accounts listed. These would be 2 totally separate accounts. Just as if you created yourdomain.com and mydomain.com
    (Only they'd be in this case, yourdomain.com and client123.yourdomain.com)
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  5. #5
    Registered User
    Join Date
    Feb 2010
    Posts
    3

    Talking Your awesome

    Thanks for the help it worked out great!

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by jeverd01 View Post
    Thanks for the help it worked out great!
    Happy to help.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

Similar Threads & Tags
Similar threads

  1. Redirecting another domain to subfolder
    By Coled in forum New User Questions
    Replies: 0
    Last Post: 10-02-2009, 06:34 AM
  2. Redirecting a domain
    By rkm11 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-29-2008, 08:34 AM
  3. Subdomain is redirecting to domain
    By benito in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-23-2008, 11:30 AM
  4. Addon domain redirecting
    By AnthonyR in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-01-2004, 05:23 PM
  5. Redirecting Domain
    By Coffeymate in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-12-2003, 09:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube