Change default domain name

Discussion in 'Linux VPS/Dedicated - cPanel' started by aleangelico, Dec 10, 2011.

  1. aleangelico

    aleangelico New Member

    Hii everybody

    I created my VPS account with a domina name, but now I want to change it, Is this something I can do? If so, how? I dont even know where to start

  2. Dan

    Dan Moderator

    Hello aleangelico,

    Do you mean you would like to change the host name?

    In WHM under Networking Setup you can change the host name.

    If that's not what you mean just let us know and we'll go from there :)
  3. aleangelico

    aleangelico New Member

    Thanks Dan, in fact I wanted to change not just the host name, but the whole domain.
    It's done, Kira from support helped me. I copy the steps here just in case somebody else need it:

    1. WHM >> Main >> Account Functions >> Modify an Account >> Click on the domain name you want to change >> Modify >> Change the primary domain name >> Save

    2. Then you have to change the hostname of the server from WHM as follows.
    WHM >> Main >> Networking Setup >> Change Hostname >> Give the new hostname >> Change

    3. send an email to support asking them to create the revers DNS record (PTR record) with the new domain name.
  4. Dan

    Dan Moderator

    Glad to hear you got it taken care of :)
  5. superman

    superman New Member

    301 redirect error in htaccess

    when i create .htaccess file
    and i insert this code

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^
    RewriteRule ^(.*)$ [R=301,L]

    but it comes error like this

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    anyone can help, why?
  6. superman

    superman New Member

    fool me, actually i created new threat how comes posting in here. sorry

Share This Page