I think that you need to do some changes in the apache configuration to serve the new URL, here you can find a guide about how to create a custom PHP application following different scenarios.
ping issue, the ICMP traffic is not enabled by default in the Amazon firewall. You'll need to grant ICMP access to your instances by updating the firewall restrictions that are tied to your security group.
Please let us know if this solves the issue.
Carlos R. Hernández