Custom application not loading, instead going to default application

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Application configuration

bnsupport ID: 3602f2a0-32c4-c58f-03a7-14ae3846e363

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
I have a couple of applications setup on the LAMP LightSail instance I’m running - but for some reason one of them loads the default app instead of loading itself.

I’m assuming that has to do with the vhosts/conf files - but I can’t see any different between them. A site that works is:
XXXsult.com
But the site not working is:
test.XXXonpto.org

(I think the diagnostic tool let’s you see the actual url’s, but it not - let me know)

Any help is appreciated - thanks,

Shane

Hi @shane.miner,

I can see you created new vhost files for that test.***.org domain. However, I can see some of the existing files use * (asterisk) to configure the ServerAlias

apache2/conf/vhosts/shane****.com-https-vhost.conf
2:	ServerAlias *

The asterisk is a placeholder and you should not be using it as “all domains” match with that. Could you please edit that file, set the correct domain for that vhost and restart Apache? Let us know if everything works fine after that.

I think that fixed it. Thanks,
Shane