Skip to:
Content
Pages
Categories
Search
Top
Bottom

DNS error – Potential Issue with .htaccess and permalinks?

  • I have buddypress installed and mostly working correctly with one exception. When someone creates a new blog, they are given an address that looks like this:

    newuser.mybpsite.com

    But when you visit that link, you get an error that says:

    DNS error – cannot find server

    I think it could be a problem with my .htaccess file or how permalinks are set up or some other setting I have missed, but I am just not sure. I haven\’t been able to find a solution in the forums, so potentially I am just looking for the wrong terms. Could someone help me out? Here is a copy of my .htaccess file:

    RewriteEngine On

    RewriteBase /

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    ‘# add a trailing slash to /wp-admin

    RewriteCond %{REQUEST_URI} ^.*/wp-admin$

    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule . – [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]

    RewriteRule . index.php [L]

    <IfModule mod_security.c>

    <Files async-upload.php>

    SecFilterEngine Off

    SecFilterScanPOST Off

    </Files>

    </IfModule>’

Viewing 1 replies (of 1 total)
  • The words “DNS error” do not appear in WPMU or BP, so that error is not to do with WPMU or BP. That is going to be host configuration. You need to check with your host to see if you have wildcard subdomains enabled.

    Other places to look would be your Apache (or webserver) error log, to see if Apache even sees the request on a subdomain. Or if you have too many redirects for some reason, this would be flagged up here too.

    Another thought is maybe you have an existing or apache.conf master rule which is re-writing the domains before the WPMU htaccess is read.

    And, that’s what the problem is – it’s not BP not working, it is WPMU not working. Obviously WPMU has to be working 100% for BP to work.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.