Subdomain not pointing to correct folder

Keywords: LAMP/MAMP/WAMP - Bitnami Cloud Hosting - Technical issue - Domain Name (DNS)

bndiagnostic ID: 2a3776bd-c153-5c29-63bb-59d5ae3387e6

bndiagnostic output:

? Apache: Found possible issues

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

I’ve added the following record into my httpd.conf file (and restarted apache) but the sub domain still seems to be pointing to the root folder. What am I missing?

<VirtualHost *:80>
DocumentRoot “/opt/bitnami/apache2/htdocs/directory/”
ErrorLog “logs/directory-error_log”
CustomLog “logs/directory-access_log” common

Hi @adam.addlestone ,

Can you configure your custom virtual host in the “/opt/bitnami/apache/conf/vhosts/” folder?

I understand Apache is using the default virtual host because it’s the first one it finds that matches. Remember you also need to generate another vhost for the https requests.

Yep that was it. Duh. Thank you!!!

So, very odd. This configuration is working fine with all browsers except for ms edge. is working fine on all browsers except Edge. It is trying to load the content from the config instead. I am stumped!! Any ideas?

No idea at all! That’s really weird. I do not know if the info is cached in the browser. Can you try removing the browser’s data or using an incognito window?