• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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