Keywords: LAMP/MAMP/WAMP - AWS - How to - Domain Name (DNS)
I am running Bitnami LAMP stack on a single AWS Lightsail instance. That instance is associated with
MyDomainOne.com (placeholder). I also own
MyDomainTwo.com (placeholder). I manage both of the domains through Amazon.
I have a number of different PHP apps running in my Lightsail instance, including a Wordpress blog, a Nextcloud installation, etc. All set up based on the instructions at https://docs.bitnami.com/general/infrastructure/lamp/administration/create-custom-application-php/
Right now I can see my Wordpress blog at
I want to set things up so that that Wordpress blog “appears at”
www.MyDomainTwo.com/wp – that is, people who go to
www.MyDomainTwo/wp should see what I now see at
I know there is a way to do this within Apache conf files, and that I probably have to change things in Wordpress as well, but even after reading the thread at https://docs.bitnami.com/aws/apps/wordpress/administration/redirect-custom-domains/ I can’t get it to work (still confused).
What steps do I have to take in terms of modifying the conf files? And what steps do I need to take on the DNS management side?
All help appreciated – thanks