Forum Replies Created

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter bdoreste

    (@bdoreste)

    I had Pretty Link activated on my site network-wide, under the
    “network activate” option. My PermaLink structure is set to custom,
    with /%category%/%postname%/

    I deactivated all of my plugins across the network install, and turned
    them back on individually for each site (instead of “network
    activate”).

    voila, and Pretty Link is now creating links on the mapped subdomain sites! ??

    Perhaps the “network activate” option was causing the problem?

    I also just upgraded the code to WP 3.0 RC3, and everything seems to
    be functioning fine.

    Thread Starter bdoreste

    (@bdoreste)

    yep, I have signups turned off in Super Admin, and the install returns the ‘registration is disabled’ message, but I came across the following thread on wpmudev.org

    https://premium.wpmudev.org/forums/topic/spammer-bypassed-signup-code

    Thread Starter bdoreste

    (@bdoreste)

    I should add that I am using the trunk version of Donncha’s domain mapping plugin, and Pretty Link 1.4.47.

    Thread Starter bdoreste

    (@bdoreste)

    Otto was able to clue me onto what I was missing; I needed to log onto the wp-admin.php of the domain which I wanted to map, not the wp-admin.php of the main blog.

    Once I logged into the wp-admin.php of the blog I wanted to map, and then the “Tools > Domain Mapping” menu option was available to me. it wasn’t intuitive to me that I needed to log out of the main site admin, and then log into the mapped blog admin.

    Okay, to recap: within the wp-admin page of the main blog, go to “Super Admin > Sites” and add a site. For example, if you want to add a mapped domain called “domain123.com”, enter “domain123” under “Add Site > Site Address” (it will say “domain123.mainblog123.com”)

    Then, log out of the main site admin, and log into domain123.mainblog123.com/wp-admin.php Once inside of the admin for the new blog, then go to “Tools > Domain Mapping” and set domain123.com as primary domain. That should do it!

    did I miss anything? check out the related thread on Otto’s blog;
    https://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

    It seems to be working, except that the Sociable plugin is puking some errors on the mapped domain blog… will try to pin that problem down next.

    thanks again!

    Thread Starter bdoreste

    (@bdoreste)

    yep, I created a /wp-content/mu-plugins/ folder, and put the domain-mapping.php in it. sunrise.php is in /wp-content/

    file permissions on the mu-plugins folder are drwxr-xr-x, and permissions on sunrise.php and domain-mapping.php are -rw-r–r–

    define( 'SUNRISE', 'on' );
    is listed immediately after the multisite code in wp-config.php

    under “Super Admin > Domain Mapping”, I have selected the 2nd and 3rd options for “Permanent redirect (better for your blogger’s pagerank)” and “User domain mapping page”, but have left the 1st and 4th options for “Remote Login” and “Redirect administration pages to blog’s original domain (remote login disabled if redirect disabled)” unchecked.

    I’ll remove the wildcards on the mapped blog domains; thanks Andrea!

    Thread Starter bdoreste

    (@bdoreste)

    I should mention that I installed the trunk version of the domain mapping plugin for WP3.0 as Otto suggests, and not the version which is on the wordpress plugin download page.

    Thread Starter bdoreste

    (@bdoreste)

    [bows, as I received a reply from Andrea ;-)]

    Okay, so I only need the wildcard for the main site doc root, and not all of the other domains?

    I have set up two A-records in Godaddy DNS for the main site domain:

    @.mainsite456.com -> 192.168.0.0
    *.mainsite456.com -> 192.168.0.0

    where the second one is the wildcard (taking the place of what Matt has described at: https://ma.tt/2003/10/wildcard-dns-and-sub-domains/)

    I have followed Steps 1-3 on Otto’s post at:
    https://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

    My hang-up at the moment is getting the “Tools > Domain Mapping” menu option to show up. As of now, my admin panel DOES NOT display it.

    I have already created a second blog, but I don’t have a Tools > Domain Mapping menu to see it.

    what gives?

    Thread Starter bdoreste

    (@bdoreste)

    Okay, I was able to think about this some more… is this a legit Apache config for mixing multiple non-WP and WP installs on a single IP address?

    # non-WP Install
    <VirtualHost 192.168.0.0>
            ServerName foobar123.com
            ServerAlias www.foobar123.com
            ServerAlias *.foobar123.com
    
            DocumentRoot /storage/www/foobar123.com
            ServerAdmin webmaster@localhost
            LogLevel warn
            ErrorLog /storage/logs/foobar123.com/error_log
            CustomLog /storage/logs/foobar123.com/access_log combined
            ServerSignature Off
    
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>
            <Directory /storage/www/foobar123.com>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>
    
    # WP Install number 1
    <VirtualHost 192.168.0.0>
            ServerName mainsite123.com
            ServerAlias www.mainsite123.com
            ServerAlias *.mainsite123.com
    
            ServerAlias domain123.com
            ServerAlias www.domain123.com
            ServerAlias *.domain123.com
    
            ServerAlias domain456.com
            ServerAlias www.domain456.com
            ServerAlias *.domain456.com
    
            ServerAlias domain789.com
            ServerAlias www.domain789.com
            ServerAlias *.domain789.com
    
            DocumentRoot /storage/www/mainsite123.com
            ServerAdmin webmaster@localhost
            LogLevel warn
            ErrorLog /storage/logs/mainsite123.com/error_log
            CustomLog /storage/logs/mainsite123.com/access_log combined
            ServerSignature Off
    
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>
            <Directory /storage/www/mainsite123.com>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>
    
    # WP Install number 2
    <VirtualHost 192.168.0.0>
            ServerName mainsite456.com
            ServerAlias www.mainsite456.com
            ServerAlias *.mainsite456.com
    
            ServerAlias domain987.com
            ServerAlias www.domain987.com
            ServerAlias *.domain987.com
    
            ServerAlias domain654.com
            ServerAlias www.domain654.com
            ServerAlias *.domain654.com
    
            ServerAlias domain321.com
            ServerAlias www.domain321.com
            ServerAlias *.domain321.com
    
            DocumentRoot /storage/www/mainsite456.com
            ServerAdmin webmaster@localhost
            LogLevel warn
            ErrorLog /storage/logs/mainsite456.com/error_log
            CustomLog /storage/logs/mainsite456.com/access_log combined
            ServerSignature Off
    
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>
            <Directory /storage/www/mainsite456.com>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
    </VirtualHost>
    Thread Starter bdoreste

    (@bdoreste)

    ok, so ALL non-WP sites on the same IP in your apache config need to be listed in before the WP sites, right?

    how do you point the domains over to the IP in your DNS?

    for example:

    (Install 1 – IP 192.168.0.0)
    mainsite123.com; also hosts the following domains
    – domain123.com
    – domain456.com
    – domain789.com

    (Install 2 – IP 192.168.0.0)
    mainsite456.com; also hosts the following domains
    – domain987.com
    – domain654.com
    – domain321.com

    Obviously, you need to set up a DNS zone file for mainsite123.com and for mainsite456.com to point to IP 192.168.0.0

    How does domain123.com know to point to Install 1, and not Install 2, and vice versa, domain987.com know to point to Install 2 and not Install 1?

    Do you simply set an A-record to point each of the domains under the main domain to the proper IP, or do they each need their own specific zone file?

    Do you have access to you database? If so, use phpmyadmin to edit the password.

    https://codex.www.ads-software.com/Resetting_Your_Password

Viewing 10 replies - 16 through 25 (of 25 total)