I currently have 2 cPanel accounts in my WHM. One is connected to a domain; the other to a subdomain. Both resolves to the same IP address.
On the subdomain cPanel, I am hosting a PHP project and everything works fine.
Now I want to host a NextJS project on the domain cPanel and I need to change the port for the domain only (not the subdomain) in order to make it work.
I found this article but I cannot find anywhere how I can change port number per cPanel account.