This question already has an answer here:
In my VM, i'm running both
nginx, but apache2 is pointed to Port 8080 and nginx is Port 80. Already i pointed my domain to ip in nginx and its running properly. The same thing i need to do for apache2. But how will i give
Port number while
mapping the ip to Domain. In the cName record, i'm not able to specify the port. Is there any alternative way to resolve this issues.