Nico Amarilla

My personal notes on programming.

Namecheap to Digital Ocean Transfer Domain

In this tutorial we will use a domain bought from Namecheap and host it on Digital Ocean. In order to continue you will need:

  • A domain name from Namecheap
  • A Digital Ocean account.

If you are using ASmallOrange, check this tutorial instead.

In this tutorial we will use a domain bought from Namecheap and host it on ASmallOrange. In order to continue you will need:

  • A domain name from Namecheap
  • A hosting in ASmallOrange

Part 1: Changing the DNS (Domain Name Server) on Namecheap

  1. Log in to your Namecheap account.
  2. Go to My Account > Manage Domains
    Managed Domains menu
  3. Click the domain name you want to edit
  4. On the left sidebar, click Transfer DNS to Webhost
  5. On the main panel choose Specify Custom DNS Servers ( Your own DNS Servers )
  6. Add the Digital Ocean nameservers to the input fields:
    ns1.digitalocean.com
    ns2.digitalocean.com
    ns3.digitalocean.com
  7. Click Save Changes.
Note: Changes may take up to 24 hours to take effect.

Part 2: Setup Domain Name in Digital Ocean

  1. Login to Digital Ocean
  2. Go to Networking > Domains
  3. Add your domain name by filling the form below:
    Digital Ocean Add Domain
    Digital Ocean Add Domain
  4. Click Add Domain.
  5. A Records. Go to your newly added domain to add an A record. An A record points to an IPv4 address. In your host name, put “@”. This means whatever your domain name is. Next put the IP address of your DO droplet:
    Digital Ocean A Record
    Digital Ocean A Record
    Note:AAAA Records are similar to A records but its for IPv6 address. You can use both of them.
  6. CNAME Records. To add a subdomain (optional), add a CNAME Record. For example, this is the entry for www.example.com:
    Digital Ocean CNAME Record
    Digital Ocean CNAME Record

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *