How do I point a subdomain to another website?
I have a site up and I’d like to add a subdomain to it which points to my school on Teachable. Am I required to configure a new server block specifically for the subdomain like I would if I was hosting another application on the same droplet? According to the resources via Teachable, all it looks like I am required to do is add a CNAME that points to my teachable URL via Digital Ocean DNS. Then just add my domain learning.example.com in Teachable. So far when navigating to learning.example.com, I see the Nginx message saying I need configuration. I am not sure if there’s more that I need to do at this point.
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.×