How to host a secondary website on a subdomain?

So I'm hosting a website www.example.com on port 80 and that is working fine. I am hosting another website on port 443. How would I go about creating a DNS record, test.example.com, for the website hosted on port 443?
Was this page helpful?