Keywords: LAMP/MAMP/WAMP - Amazon Web Services - How to - Domain Name (DNS)
I have an instance of Amazon AWS Lightsail LAMP, and I want to do a custom app from scratch. I followed this two tutorials:
I achieved run my server and show my index.php, but the Assets like "/css/custom.css" or "/img/image1.png" are not showing. This happens because the document root is http://SERVER_IP/ and not http://SERVER_IP/name_of_app.
I don't undestand why, because I do all steps in the tutorial and configured de "vhosts" files. And restarted apache, obviously.
Someone could help me? Thanks.