Question

Configuring DNS for domain and SSL certificate

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?

Subscribe
Share

Submit an 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

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