Solved

Create A Hostname For VPS

Posted on 2010-11-10
4
799 Views
Last Modified: 2012-05-10
Can someone tell me how do I create a FQDN Hostname for my VPS?

I cannot seem to find any instructions anywhere.
0
Comment
Question by:72impala
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Tyler Laczko
ID: 34104747
0
 
LVL 13

Accepted Solution

by:
LinuxGuru earned 500 total points
ID: 34105341
Hi,

Are you using any control panel like cPanel or Plesk to manage your vps? If yes you will be able to set the hostname after logging to your Webhostmanager.

If you are using cPanel based control panel you may follow the steps listed below to access your WHM. To access your WHM, you need to type: http://IP:2086 in your web browser address bar, and it will ask you root login. Give username root and the password from your provider (it should be in your email). Then it would bring your to WHM.

You can change your hostname in WHM by selecting Change Hostname under Server Setup in WHM or you can try to change using the following steps via backend.

   1. Login to server via SSH as root.

   2. Run the following command to change host name:

      hostname servername.domain.com

      Change servername.domain.com to a hostname you desired based on your domain name.

   3. Run the following command to update cPanel license information to avoid invalid cPanel license error:

      /usr/local/cpanel/cpkeyclt

Please note that the above steps are only applicable for a cPanel servers.
0
 

Author Comment

by:72impala
ID: 34105784
Ok, but the thing im not sure about is for the hostname like say for example do I have to go to godaddy and purchase a domain like "earth.mysite.com" to use as my hostname for it to be a FQDN?
0
 
LVL 13

Expert Comment

by:LinuxGuru
ID: 34105815
Just set any hostname you like and ask your hosting provider to set rdns for your vps main ip address. That is to point your vps ip to the new hostname.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Resolve DNS query failed errors for Exchange
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now