• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

New subdomain generates 'too many redirects' error message

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
 
Last edited by a moderator:
Hi Amin - thanks for the reply!
All I have as far as .htaccess goes is a basic WordPress .htaccess file in the /var/www/vhosts/domain.tld/httpdocs directory: http://pastebin.com/fLaTEDMT

There's likely some other sorcery going on with WordPress that lets it manage subdomains that it manages, but I don't imagine that it would interfere with another subdomain not in its list...

Perhaps you know better?
 
Just to rule it out can you rename the file or comment out the lines in it and then re-test? Worst case no change but at least we can rule it out.
 
Back
Top