I've tried to add a subdomain with a separate wp installation, but it's not working. I'm running OpenLiteSpeed on AWS EC2. I pointed the subdomain to the same IP as the main one.
I've created a directory for it at /var/www/staging.mydomain.com, and created a copy of the main domain's conf file to the following directory:
/usr/local/lsws/conf/vhosts/staging.mydomain.com/vhconf.conf
I've set up a Vhost and a Listener, but the subdomain just redirects to the main domain.
What am I doing wrong?
Here are some screenshots:
VHOST:
LISTENERS:
I've created a directory for it at /var/www/staging.mydomain.com, and created a copy of the main domain's conf file to the following directory:
/usr/local/lsws/conf/vhosts/staging.mydomain.com/vhconf.conf
I've set up a Vhost and a Listener, but the subdomain just redirects to the main domain.
What am I doing wrong?
Here are some screenshots:
VHOST:
LISTENERS: