E
elR
Guest
Hello kind souls. =)
After reading the Apache docs describing the ServerAlias directive, I'm still having trouble understanding how it functions. I've got a WordPress Network (Multisite) setup that requires I add ' ServerAlias "*.domain.tld" ' to the /var/www/vhosts/domain.tld/conf/vhost.conf file. This works fine.
However, I just created a new subdomain via the plesk control panel, which placed a directory for it here: /var/www/vhosts/domain.tld/(subdomain) - and in /var/www/vhosts/domain.tld/subdomains/(subdomain) - and attempting to visit subdomain.domain.tld in my browser generates a 'too many redirects' error.
My question is:
Is the ' ServerAlias "*.domain.tld" ' causing this problem, or am I missing a step somewhere in getting the subdomain to load in the browser?
UPDATE:
Here's the httpd.conf content auto-generated by Plesk:
http://pastebin.com/gzJ9TChq
After reading the Apache docs describing the ServerAlias directive, I'm still having trouble understanding how it functions. I've got a WordPress Network (Multisite) setup that requires I add ' ServerAlias "*.domain.tld" ' to the /var/www/vhosts/domain.tld/conf/vhost.conf file. This works fine.
However, I just created a new subdomain via the plesk control panel, which placed a directory for it here: /var/www/vhosts/domain.tld/(subdomain) - and in /var/www/vhosts/domain.tld/subdomains/(subdomain) - and attempting to visit subdomain.domain.tld in my browser generates a 'too many redirects' error.
My question is:
Is the ' ServerAlias "*.domain.tld" ' causing this problem, or am I missing a step somewhere in getting the subdomain to load in the browser?
UPDATE:
Here's the httpd.conf content auto-generated by Plesk:
http://pastebin.com/gzJ9TChq
Last edited by a moderator: