Hello, i would like to have more idea about my setup

i have this server for apache (had wordpress)

and another, for mysql.

i set them up and tried accessing it in my client, but for now iptables i flushed it, and selinux i disabled it for it to work,

i just want to have more idea on how i can manage these even though selinux and iptables are at work?

Thank you