Report this

What is the reason for this report?

DNS config for subdomains of externally hosted website

Posted on January 27, 2015

Hi,

my website is not hosted on Digital Ocean. I want to host a subdomain of this website on Digital Ocean.

I did the following:

  1. all 3 Digital Ocean NS are registered with my domain
  2. Set the domain in Digital Ocean Control Panel
  3. in Domain view: A @ IP_ADDRESS of hosting server A MY_SUBDOMAIN IP_ADDRESS of droplet CNAME WWW WEBSITE_URL CNAME *.MY_SUBDOMAIN MY_SUBDOMAIN.WEBSITE_URL 3 Nameservers (Defaults)

What is the problem?

Ivan



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

This comment has been deleted

If you changed your NS records like that all your domain is being send to DO NS servers, so maybe you current website is offline by now.

If you need to use a subdomain to direct your traffic to DO Droplet just add an A record to the DO Droplet Public IP.

A Name DROPLET PUBLIC IP

Example: A www2 3.3.3.3

You do this from your current register DNS Panel.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.