How to set AMP to work on only one subdomain

Hi, I am trying to set up AMP and another web service but when that service is installed the subdomain points to AMP, although I set AMP’s subdomain as another. (sorry if I sound dumb, I am quite new to this)

You can’t have two web services share one IP address and one port, even if you use different subdomains. You will want to run one of your web services on a port other than 80/443.

You need to use a reverse proxy such as Nginx to have the same IP/port host multiple applications with different domains. If you configure AMP for HTTPS then it does this by default, and you just need to make nginx configurations for any other application(s) on the system that have their own domains.