how to bind my DigitalOcean vps ip with my domain name?

October 7, 2014 5.4k views

I have bought a domain name "" from godaddy , my DigitalOcean vps ip is x.y.z.w , and build a wordpress on x.y.z.w , now how can i bind my DigitalOcean vps ip with my domain name? when input "" in brower , i can get my wordpress.

2 Answers

Check out How To Set Up a Host Name with DigitalOcean | DigitalOcean. Once you've followed that tutorial and made sure that everything is working properly, you can set your Wordpress Site URL to your domain name instead of your IP address.

by Etel Sverdlov
This article walks you through setting up the DNS for your site. The tutorial includes steps to set up an A records, point your nameservers, and provides some information about MX records.

Go to GoDaddy domain panel and change the nameservers to the digitalocean's nameservers (image)
Then just to the DNS Zone File tab and make sure that the record there point to your host ip.
Then in digital ocean panel you go to DNS > Click the 'Add Domain' button
Name is your actual domain
IP Address is the ip of the host
and in the select you choose ur droplet

Have another answer? Share your knowledge.