DigitalOcean using SSL to serve NgInx Backend on Subodmain

Posted November 27, 2018 797 views
DNSInitial Server SetupUbuntu 18.04

Im currently following a tutorial to install basic Nginx and configure SSL Where I’m kind of lost is that it tells me to add a A Record to my domain configs, which I did, and after running dig +short (domain name) it showed two IPs instead of one, one beeing my DIgitalOcean droplet IP.

I would like to use my to serve files using regular Cpanel hosting and to point to my droplet Nginx server to serve responses using SSL. Can someone point me out to the right direction because Im getting confused here.

1 comment
  • Sorry for bad english. Basicly what I mean is that I want to use my droplet entierly as a Backend API and still use my main domain name with Cpane; to serve static files.

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!