firzen434
By:
firzen434

How do I create a text wrapper for the server ip when using ssh?

September 29, 2015 822 views
Logging Getting Started Ubuntu

At my school, when we ssh into their server, it's something like [student_id]@mills.mcmaster.ca. How do I do this with my Digital Ocean droplet (so I don't have to pull out the server ip every time because it's hard to remember)?

1 Answer

You'll need to register a domain name via a registrar (such as Namecheap, iWantMyName, Hover, etc.) and then point it to your droplet.

Once you've purchased a domain name, here's what you need to do:

  1. Point the name servers to DigitalOcean's: How to Point to DigitalOcean Nameservers From Common Domain Registrars.
  2. Set up the necessary DNS records: How To Set Up a Host Name with DigitalOcean

    In your case, a @ A record is enough:

This article explains how to manage your DNS records using the DigitalOcean Control Panel and can help you decide if DigitalOcean's DNS management tools are right for your situation.
Have another answer? Share your knowledge.