Technical - Setup
- How do I login to my VPS? How do I create a Droplet?
We've put together a "getting started guide" for first time users in our community section on how to login to your virtual server.
Check out this tutorial for help: How to Create Your First DigitalOcean Droplet Virtual Server
- How do I set up DNS?
Check out this community article: How to Set Up a Host Name with DigitalOcean
- What are your name servers?
If you are setting up your name servers on your domain registration – our Name Servers are:
See this article for additional information: How to Set Up a Host Name with DigitalOcean
- Why is my domain not resolving?
DNS can take time to propagate. Also, your local nameserver will cache results; therefore, you must flush your local nameserver cache in order to effectively debug DNS updates.
Alternatively, you can use the command line tool 'dig' to check the updates.
For information on how to debug DNS, see this article: How to Set Up a Host Name with DigitalOcean
- How can I connect to my Droplet with VNC?
Even though we do not provide GUI access to all of our Droplets, we have a community article on how to set up the XFCE desktop environment on Ubuntu:
We recommend having at least 1GB of Ram available to run X11
- How can I use PuTTY to connect to my Droplet?
You will need to use PuTTY to connect to your Droplet via SSH.
Please follow this guide on how to login with PuTTY: How to Log into Your Droplet with PuTTY for Windows Users
- Is FTP installed and how can I install it on my virtual server?
FTP is an insecure protocol that should only be used in limited cases or on networks you trust. Our servers come with SFTP pre-installed, and we encourage you to use it rather than FTP.
- How do I set up Two-Factor Authentication on my DigitalOcean account?
To begin with Two-Factor Authentication, you will need to download the Google Authenticator app for your mobile phone. Your phone will have to have the correct date, time, and timezone to work correctly.
Log into your DigitalOcean account and click the "gear" icon in the navigation to open the settings page. Click the green 'Enable 2-factor authentication' button.
On this page, select your phone number's country, and fill in your phone number. Then click the blue submit button.
You should get a text message from Google on that number. Put the code from that text into the 'enter pin' box and click the blue submit button. Then you will be presented with a QR code.
On your mobile device, load the Google Authenticator app and add a new account. There is no need to enter any information, just manually add a new account with the 'scan a barcode' feature. Hold your phone's camera up to your computer screen to capture an image of the QR Code.
A code will then be displayed on your screen. The code is time sensitive; take that 6-digit code and enter it into our website in the 'Enter pin' box and then click the blue "Submit" button. That's all that you should need to enable Two Factor Authentication.
If you have any problems, please make sure that your phone is set to the correct date, time, and time zone. If that's not the issue, open a ticket and let us know exactly at what step you are having trouble and we'll work together to resolve it.
- Is my VPS IP address static?
A virtual server's IP address is static and reserved for your virtual machine until you destroy it. Rebuilding a virtual server retains the same IP that you had initially.
- How can I change my IP address?
You can use the following procedure to get a new IP address for your Droplet:
- Create a snapshot image of your Droplet from the control panel.
- Create a new Droplet from your snapshot.
- Destroy your original Droplet.
- Do you support adding multiple IPs per virtual server? How can I get an additional IP?
We do not currently provide the ability to add more than one public IPv4 IP address per virtual server. This is due to the worldwide limited availability of remaining IPv4 address space. We are working on implementing IPv6 as soon as we can, and we'll be sure to update you once it's in place. We apologize for any inconvenience.
- Why is the GeoIP information for my Droplet wrong?
The GeoLocation of all IPs are handled by different governing bodies that issue those IPs for use by ISPs. A mismatch can happen between the time we receive a new IP block and the time the organizations responsible for updating the geography of IPs updates their databases.
As these organizations move at their own pace, we have little influence over the speed at which they make geographic changes when IP blocks are reallocated between organizations. If there is a discrepancy it usually means that it is a new assignment and will soon be updated.
- How can I set up a firewall?
Please check out this article: How to Set Up a Firewall Using IP Tables on Ubuntu 14.04
- How are PTR and Reverse DNS records configured?
rDNS/PTR records are automatically configured for your IPs based on the hostname that you provide for your Droplet.
- How do I set an rDNS (reverse DNS) or PTR (pointer) Record?
The rDNS for your Droplet's IP is automatically set to the hostname of your Droplet as it appears in the control panel.
If you wish to update your rDNS (PTR record) simply rename your Droplet in the control panel:
- Navigate to the Droplet listing.
- Select the Droplet to rename.
- Choose the "Settings" tab followed by the "Rename" option.
- Fill out the "New Hostname" field then click the "Rename" button.
- Do you provide cPanel?
We do not license cPanel; however, we do have an article on how to install it: How to Install cPanel on a Virtual Server Running CentOS 6
- Is GRUB supported?
Grub is not supported. The kernel and initrd are specified by the hypervisor upon boot. We are currently working on a kernel management system that will allow you to pull in all of your kernels from a virtual server and then select the one you'd like to boot from.
- How can I set up a PPTP VPN Tunnel?
If you would like to setup internal IP addresses between your Droplets, you can setup a PPTP VPN Tunnel between them using this tutorial: How to Set Up Your Own VPN with PPTP
- How can I access MySQL from a remote computer?
If you are connecting to MySQL remotely, you will have to enable MySQL to listen on the public interface of your Droplet as well as the loopback.
Typically, this is done in "/etc/mysql/my.cnf" by changing the line "bind_address=127.0.0.1" to "bind_address=0.0.0.0"
However, please note that this will allow anyone to connect to your MySQL server, so you should make sure that you have secure passwords on all accounts and consider creating firewall rules to prevent unwanted connections.
Here is a community question that may be of further help: How to Allow Remote MySQL Database Connection
- Why does my MySQL daemon crash?
The most common reason why MySQL is not running is that it stopped or failed to start as a result of not enough memory.
This can usually be seen by attempting to start the mysql server ("service mysql start" on Ubuntu and some other systems) and then reviewing the mysql error log (usually in /var/log/mysql/error.log or similar file path).
A useful program to review the logs one page at a time is "less" – for example: less /var/log/mysql/error.log
If you see memory issues such as "mmap can't allocate" then you can be sure that you are having memory issues.
Potential solutions are:
- Upsize to a larger server. We recommend at least a 1GB Droplet for any server utilizing a MySQL database.
- Enable swap
- Tuning: Reduce the number of running programs, configure MySQL or other programs to use less RAM