Support » Installing WordPress » migrating server; seting up multisite with wildcard DNS

  • Hello people,
    I’m transfering my websites to new server. and Seting up WP Multisite.
    Once WP (with sub-domain conf) is installed, I’ll setup micro-sites in there.
    But during that period, I’ll still keep website on my old server and use dummy domain-name (for sake of installing and configuring). Once all files are properly transfered I’ll Go to my dummy-domain>wp-admin> Setting>General> & change my url form dummy-website.com to website.com.

    My question is: is it going to work just same with Multi-site WP setup as it works in simple wordpress?
    Of course I’ll have wildcards DNS for both domains *.dummy-website.com & *.website.com
    Will it work? If not,
    Please suggest me the proper way. Obviously you cant afford to test it live after migrating many wp blogs… right?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter johnyc

    (@johnyc)

    It looks like I cannot change the Domain name once I enable Network.
    Dashboard>Settings>General> I dont see “WordPress address (URL)” & “site address (URL)”

    Any work-around there?

    Like the “update service” gets disabled for Multi-site but there’s a plugin to activate it.. is there any way out to change the domain name here?
    Help Appreciated, thank you.

    No, the only way is to change it in all instances in the db. We’ve gone over this a few times here in the forum.

    Multsite saves the full URL in a LOT of tables.

    Thread Starter johnyc

    (@johnyc)

    that means no use changing
    define( ‘DOMAIN_CURRENT_SITE’, ‘dummy-webiste.com‘ ); to website.com?

    OK, it looks like it’s not rare you find such issue, then, what’s the ideal way to transfer to new server? (without compromising for big downtime)
    BTW, it’s nothing to do with WordPressMU Domain Mapping plugin, right?

    No, nothing to do with domain mapping. You’d find this on a site without it as well, it’s just how the multisite tables store the data.

    Download the SQL dump of the db, do a search & replace (and a REGEX for anythign stored as an array, like in some widgets) then restore the fixed db on the new server.

    Thread Starter johnyc

    (@johnyc)

    was going to do that as plan-B.
    Thanks Andrea, appreciate the help and all contributions you make for WP & WP-MU in general. Great work you guys, I read your tutorials. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘migrating server; seting up multisite with wildcard DNS’ is closed to new replies.