The MU forums have moved to WordPress.org

SOLVED: Login Problem and multiple domains (41 posts)

  1. nolageek
    Member
    Posted 17 years ago #

    couldn't you just create a cname and point the domain1.com to domain1.wpmu-install.com?

  2. lunabyte
    Member
    Posted 17 years ago #

    And put additional load on apache for no reason?

  3. nolageek
    Member
    Posted 17 years ago #

    how is that putting an additional load on apache. You're already suggesting creating a CNAME record that points it to somewhere else.. and you're already suggesting using the wpmu install to serve the other website. What's the difference other than a while lot of other configuration?

  4. drmike
    Member
    Posted 17 years ago #

    A CNAME is a redirect. WPMu already does a redirect on top of a redirect to get the visitor to a blog with subdomains. Add another redirect for pretty permalinks.

    I still think parking the domain on top of the main domain and replacing the URLs within the blog record is the best way to go.

  5. nolageek
    Member
    Posted 17 years ago #

    can i do the same to have domain2.com instead of blog.domain2.com ? would they both be 'main' blogs then?

  6. drmike
    Member
    Posted 17 years ago #

    Should work. Do a search for domain mapping.

  7. nolageek
    Member
    Posted 17 years ago #

    that worked beautifully. I did everything step by step from the second post in this thread, but instead of Step 1 I 'parked' the new domain on top of my muwp domain. works perfectly.

    http://blognola.org
    http://disgruntledmumblings.com

  8. tene
    Member
    Posted 17 years ago #

    While testing Lunabyte's (very cool) vhost strategy I found I needed two ServerAlias entries for both the non www version of additional URI's to work. But the primary only needs one (as per Luna's model).

    So to serve http://yourdomain2.com as well as http://www.yourdomain2.com, in the virtual host definition for the main WPMU site I need these server aliases:
    ServerAlias *.yourdomain.com
    ServerAlias *.yourdomain2.com
    ServerAlias yourdomain2.com

    If I drop the yourdomain2.com alias, then http://yourdomain2.com doesn't work.

    My DNS setup is
    *.yourdomain.com points to my IP
    *.yourdomain2.com points to my IP
    etc

    Using Apache 2.0.52 on RHEL4 and WPMU 1.2.1, with a wp_site record for each external domain (as per this thread).

    Luna's approach works ok for me with two entries, but I would be interested to know if anyone else has both forms working Ok with just the one alias.

  9. AshleyK
    Member
    Posted 16 years ago #

    Hi all. I've followed the procedure recommended to turn "hypothetical-mu-blog.example.org" into "hypothetical-mu-blog.com", and it's working a charm. wp-admin is working as usual.

    Only problem is that when you visit hypothetical-mu-blog.com, the url rewrites don't appear to be working properly. I get "Error 404 - Not Found" when I click a comment link, category, archive, or article title on the front page of my blog.

    The rewrites on "example.org" are still working. Just wondering if anyone else has had this problem, or might know the a fix or workaround.

  10. bikerjeg
    Member
    Posted 15 years ago #

    is anyone having issues with this setup when trying to upload files from within the admin area of the other TLD sites? I keep running into an error when I try to upload files, but other than that the setup is running smoothly. I have to mention that I used the instructions from this site http://bui4ever.com/web-itecture/wordpress_mu_with_domain_mapping

    I also noticed there is a plugin available from wpmudev site. has anyone tried this?

  11. Cyrian
    Member
    Posted 15 years ago #

    AshleyK, hopefully you've resolved this already. But for anyone else, you can try setting 'AllowOverride All' in the <Directory> area for the domain in httpd.conf (or .htaccess).

    Might not be the answer to your exact problem. But many times when the none of the pages/links work besides the main page, this is the culprit.

About this Topic

  • Started 17 years ago by cafespain
  • Latest reply from Cyrian