I have a wordpress site setup on an amazon ec2 server. I created an elastic ip, forwarded my domain name (registered with namecheap) to that ip, and setup everything to properly work through aws's route 53.
The domain name, say www.example.com redirects correctly to the home page of my WordPress site, but when I navigate to a specific page on the site the URL does not change correctly to say example.com/page.html, but remains the same (example.com). This does not happen if I directly go to the ec2 elastic ip address, only when using the domain name redirect.
Am I doing something wrong here? How can I get the correct URL to appear through the domain name?