Domain names pointing with shared AWS instance

That is totally doable but why do you want to add another variable in the form of httpd when nginx can happily handle both discourse and wordpress at the same time.

Totally agree on this. Have been trying to get Wordpress working in nginx for hours. It’s either my nginx.conf isn’t set right or I missed something somewhere. When access the site with the domain name, instead of loading the default homepage, it loads index.html instead. Changing some config causes it to download the content in index.php instead and nothing show on the browser. The other pages just wouldn’t load, 404 error. I suspect the system can’t recognize anything php. Do I need to install a separate php package for Wordpress to work in nginx? Did tried to install php5-fpm but AWS doesn’t has that package. If it does install, will it mess up the php package that’s already working well with httpd?

Apology for having so many questions, I guess you can tell how confused I am.