ADD DOMAIN TO CENTOS

How to add a different domain to CENTOS vps

comments (4)

  • Jay

    - 6 years ago

    Google :)

  • Andrew

    - 6 years ago

    I'm guessing you mean setting your hostname.

    On Ubuntu to change your hostname, you can do:

    nano /etc/hostname When you are in the nano text editor, replace the existing hostname with your new desired one

    Then do nano /etc/hosts Then do the same, there may be multiple occurences this time. Then finally do reboot to restart the system to make the changes take affect.

    If you are running a different OS, googling <your OS> change hostname will probably bring up desired results.

  • VPSUser 004

    - 6 years ago

    Sudu hostname (your Hostname)