I am using namecheap as my domain registrar for a domain, say example.com. Because of the way I have things set up and example.com pointing somewhere else, I cannot change the nameservers or use example.com and therefore want to use a subdomain, say ocean.example.com, to point to a Ubuntu 16.04 droplet with an example IP of 1.2.3.4
Based on what I have been reading, I believe it is possible to point to subdomains without changing the nameservers of example.com on namecheap, but whatever I try does not seem to work.
My questions are:
Thank you all for any help!!! :)
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!
Create an A-Record pointing to that IP wherever you control your current nameservers.
Very useful post.
I’m using GoDaddy as register and my web server is hosted elsewhere. I’d like to point a subdomain to a Digital Ocean’s droplet.
May I ask if, adding an A record as you said, allows me to install and secure Nginx with Let’s Encrypt on the droplet following the provided tutorials from Digital Ocean itself? Will I miss something when comparing to the standard procedure of creating a whole new domain and pointing on Digital Ocean using ns1.digitalocean.com, ns2.dig…etc ?
Thanks for the support.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.