Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Create A Hostname For VPS

Posted on 2010-11-10
4
Medium Priority
?
811 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
LinuxGuru earned 2000 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

Create CentOS 7 Newton Packstack Running Keystone

A bug was filed against RDO for the installation of Keystone v3. This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

730 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