WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite Redirecting ALL Subdomains (5 posts)

  1. Firecaster
    Member
    Posted 3 years ago #

    Morning all, I've been ripping my hair out trying to get this fixed and I'm hoping you can help.

    I currently have http://www.alcedea.net. WordPress is installed in the www root directory, multisite is enabled, wildcard DNS works and I have an override in my vhosts.conf to enable *.alcedea.net.

    However, whenever I go to any subdomain, even those that aren't WordPress installs -- webmail.alcedea.net and silvergate.alcedea.net, for example -- it gets redirected to the WordPress blog setup page. (It's currently not doing this as I've reverted my changes, but let me know if you need me to blow it up again.)

    My .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    I've tried putting silvergate and webmail in the list of banned sites and it didn't help.

    Any help is appreciated!

  2. However, whenever I go to any subdomain, even those that aren't WordPress installs -- webmail.alcedea.net and silvergate.alcedea.net, for example -- it gets redirected to the WordPress blog setup page

    Then the wildcard record is being processed before the other subdomains in Apache. reverse that. ;)

  3. Firecaster
    Member
    Posted 3 years ago #

    Thanks for pointing me in the right direction. I checked and Plesk is indeed executing my vhost.conf before it reads the subdomains in Apache. I think I'll have to move to a different system before I can multisite. Thanks for your help!

  4. It *is* possible to use Plesk and multisite. Note that the issue is how plesk handles the wildcards, which is a server setup that multisite uses. Any other program that needs the same would have the same issue.

    Basically, there's a subfolder off the /conf setups where you need to put it.

    Drove me nuts. :D

  5. Firecaster
    Member
    Posted 3 years ago #

    Oh yeah, I'm not blaming WordPress at all, just that this is the last straw to push me to go with a barebones server instead of one managed with Plesk. :) Thanks again for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic