Reputation: 77
I have configured the following:
The issue I have is that when I create an A record in Route 53, I have no choice but to input only the IPv4 address of the server (x.x.x.x) without the "/wordpress/" section, meaning that when someone goes to my URL (xyz.com), they are presented with the backend of the wordpress showing buttons for "Open my Application" and "Go to MyPHP", etc.
I cannot get the DNS service to point to the "x.x.x.x/wordpress" in order to get to the actual homepage.
Any advice would be appreciated.
Upvotes: 1
Views: 198
Reputation: 77
I found the solution eventually...
First, cd
into the directory where the .pem
key is kept.
Then, (using Mac OSX Terminal in my case) SSH into the bitnami using the following command:
ssh -i myrslkey.pem bitnami@[instance elastic IP]
Once logged in, using the following command to change the ULR from [Domain].com/wordpress/ to [Domain].com/ :
sudo /opt/bitnami/apps/wordpress/bnconfig --appurl /
Use this command litterally; don't change "appurl" to your own URL or anything like that, because "appurl" is the command name. Simply use that command as it is and it will work.
Upvotes: 0
Reputation: 19573
DNS wont actually do this. You need to change the document root within your web server settings to set the root to be within the wordpress folder.
Wordpress has some base url settings in the wp_options table that may also need to be changed.
Upvotes: 1