By beardyjaws
I asked for help on this on the most similar question in the forum, but no luck yet…
I want to SSH into my droplet using the domain name that I have set up instead of the the IP address of the droplet.
I don’t have a complicated set up - just LAMP Ubuntu 14.04, but I do have CloudFlare set up managing the name servers for the domain.
If anyone can tell me if this is possible and the steps required to get it working, I’d be very grateful :)
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!
you would have to add www.yourdomain.com in /etc/hosts of the server(or client) you use ssh from.
From a security perspective having subdomains that route around CloudFlare is a really bad idea.
You’re far better off setting an SSH config file that allows you to connect to a given host using a custom alias whilst also being able to add additional configuration.
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.