My website is running on AWS EC2 on /var/www/html
on port 5000.
I would like to create a DNS A Zone test.example.com
linked to that website. On the domain page I can only add the IP, not the port, so test.example.com:5000
works, but test.example.com
doesn't. How can I do it?
This is my VirtualDirectory:
<VirtualHost *:5000>
ServerName test.example.com
DocumentRoot /var/www/html
</VirtualHost>