I'm doing website on the Linux server (still learning) And I have on 1 IP address to host many web sites. I will have them separately. For example for one website and for another website.

I know that I need to configure the Linux server to use the folder containing the WordPress files. I also know I need to put this IP into GoDaddy as a DNS A record. I don't know the Linux commands and where I they should go. All I remember is something with site-enabled apache2 and nothing else.