Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
DigitalOcean using SSL to serve NgInx Backend on Subodmain
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 www.maindomain.com to serve files using regular Cpanel hosting and api.maindomain.com 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.