Configuring DNS for domain and SSL certificate

April 17, 2016 1.3k views
DNS VPN

So I have two servers, one for private cloud and private VPN. My domain lewisbarham.com is registered with TSOHOST and DNS managed with Cloudflare - which gives me free SSL certificate and CDN support.

How can I configure the subdomains cloud.lewisbarham.com and vpn.lewisbarham.com with the servers, whilst maintaining the existing Cloudflare DNS management?

Which records do I have to create on Cloudflare to redirect and point the subdomains to the servers?

3 Answers

Hey there,

You can point A records within your CloudFlare DNS zone to the IP address of your servers. The name field would be "cloud" or "vpn" and the IP address would be the IP of the server you want to direct traffic to.

Happy coding,

Jon Schwenn
Platform Support Specialist
DigitalOcean

Have another answer? Share your knowledge.