The MU forums have moved to WordPress.org

WordPress MU: DNS Wildcard not working (6 posts)

  1. chuck59
    Member
    Posted 15 years ago #

    Hi,

    Just installed WP-MU, followed the steps in readme.txt, configured DNS, installation went just fine BUT sub-domains not working :(
    my wild-card entry in WHMCS is

    * 14400 IN CNAME justezine.com.

    I found http://ulyssesonline.com/2007/04/20/wordpress-mu-dns-wildcards/ and followed everthing, infact i've already done everything right, but can't understand why it's not working.

    main website (justezine.com) works fine, but sub-domain brings cPanel's default page e.g. http://hosting.justezine.com

    I think it's .htaccess which is the real cause of this. My .htaccess is the default one which is generated during installation. permissions are 0777

    I'm just lost what is the problem and how to fix.

    Can anybody help?

  2. technodes
    Member
    Posted 15 years ago #

    Sombody said that i need to recongigur my wildcard and stuff and im confused of how to do that can anyone help me my email is technodes @ windstream.net and my website is technodes.net or http://www.technodes.net thank you for all your help and my work office phone number is 904-410-3107 i need help thanks

  3. gmchun
    Member
    Posted 15 years ago #

    One of the major problem is your hosting provider is not support wildcard.I never use dreamhost so i not sure.I think the best way is request help from your own hosting provider.

  4. chuck59
    Member
    Posted 15 years ago #

    For a follow-up, main website (justezine.com) works fine, but sub-domain brings cPanel's default page e.g. http://hosting.justezine.com

    I'm managing the DNS entries and i'm 100% sure that it's just fine :)

    This website is hosted on a shared IP... Here's the snap-shot http://justezine.com/dns.jpg

    Below the content of .htaccess which might be needed for diagnostics...

    *******-- .htaccess start --
    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>
    *******-- .htaccess ends --

  5. andrea_r
    Moderator
    Posted 15 years ago #

    It's not your htaccess file. It has nothing to do with the subdomains.

    Did you edit Apache? Did you ask your host to do their part to edit Apache?

    There's a line in the httpd.conf file (in Apache) that has to account for the wildcard subdomains as well. If that's not there, it won't work.

    Server Alias justezine.com *.justezine.com

    It's gotta look like that, and if I remember right, Dreamhost insists on you getting a dedicated IP for your account to do this.

  6. peiqinglong
    Member
    Posted 15 years ago #

    Also be sure to restart apache after you're done.

About this Topic

  • Started 15 years ago by chuck59
  • Latest reply from peiqinglong