Home > Clouds > AWS > AWS FAQs > How can I change the EC2 hostname?

How can I change the EC2 hostname?

Table of Contents
Background Information

Currently the hostname is in the form: "DomU-12-31-38-00-AA-11"
How can I change it?


Answer

You can change the hostname on the instance using the Linux hostname command (you can do this as part of a boot script):

hostname myhostname

However, this does not effect DNS in any way.  You need to also make changes to the hostname in DNS Made Easy if you want to be able to access that host from other computers.  This can be done by modifying or creating A-Records for the server.  The hostname command effects the "internal" hostname of that server only.

You must to post a comment.
Last Modified
21:25, 16 May 2013

Page Rating

Was this article helpful?

Tags


Announcements

UCP Migration

Glossary | 用語용어 Site Map | Site Help Community Corporate Site Get Support Dashboard Login
Doc Feedback Product Feedback Resources MultiCloud Marketplace Forums

Dashboard Status


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.