• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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