Mobile app version of vmapp.org
Login or Join
Hamm4606531

: Website URL for subpages not showing up after domain forwarding I have a wordpress site setup on an amazon ec2 server. I created an elastic ip, forwarded my domain name (registered with namecheap)

@Hamm4606531

Posted in: #AmazonEc2 #Domains #Redirects #Wordpress

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 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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Holmes151

You don't want to "forward" your domain name. That's what's causing this behavior.

You need to create a DNS A record for the hostname that you want to point to the elastic IP.
www.namecheap.com/support/knowledgebase/article.aspx/434/2237/how-do-i-set-up-host-records-for-a-domain

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme