Update: I tried adding the following rule and it worked:
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8501

However, now everything points to the streamlit app, which is not what I wanted. I have my personal website hosted on the same EC2 instance. Is there a way around it?