Support » Networking WordPress » Multisite Host Transfer Domain Changing

  • Resolved leosampieri


    Hi, everybody.
    I’ve copied the files from (and my old webhost), to (the primary domian in Justhost, my new webhost). I moved all files and databases. All databases’ names and users, remain the same.
    Then I changed a line in wp-config (in the new webhost, of course):
    “define( ‘DOMAIN_CURRENT_SITE’, ‘’ );”
    (it was set on

    When I try to browse, I get “This webpage has a redirect loop”, on Chrome; “The page isn’t redirecting properly”, on Firefox; and the URL field shows:

    Any ideas on how I should correct and finish the process?.
    What should I do with the DNS’s?.

    Thanks a lot !

Viewing 13 replies - 1 through 13 (of 13 total)
  • I’ve manually changed siteurl and home options, in wp_options table, both pointing to the “.com” extension;
    I’m still getting the error message.

    And finally, changed:

    Following this instructions:

    It’s up again!.
    Now I have two twin sites, on, and .com
    I’ve set the extension as ‘parked’, in the justhost’s domain manager. Should I set the justhost’s DNS’s for this domain?.

    Thanks !!

    Still having problems.
    Can’t access the newtwork sites,
    for ex.

    Error is not multisite, error is your server. is a chrome error saying “Hey, this domain name doesn’t exist.”

    Check out vs

    You need to add wildcard subdomains to your new server and, if you also have new nameservers, you may need to set that up there too.

    Mika, thanks a lot.
    I’ll try it and let you now.

    OK. So I’ve set up the wildcard with no problems.
    It has improved a bit the situation, but I’m still having trouble accesing the dashboards of the subsites, and the subsites themselves. BUT, if I place the ‘www.’ in the URL, I get a default Justhost blank screen. If I don’t, I get the ‘Server not found’ error.
    I suppose this has nothing to do with the DNS.

    I’ve been reading that this may be an htaccess issue, so I place it here; hope it helps:

    # BEGIN s2Member GZIP exclusions
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+
    	RewriteRule .* - [E=no-gzip:1]
    # END s2Member GZIP exclusions
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    Thanks you all.

    I tried disabling all the plugins, but it didn’t work.

    I’ve consulted Justhost, and they’ve found nothing strange on their side. loads (yay) but points to JustHost.

    So you didn’t do wildcards right on your sevrer now.

    Ask JustHost “How do I make it so will load from the folder?”

    Hi, Mika,
    thanks again.
    I believe I did set the wildcards, using this instructions from the Help section:
    To create them follow these steps:
    Login to your Just Host Control Panel
    Click the Subdomains icon, located in the Domains section.
    In the “Subdomain” name field, enter the “*” character. (Shift + 8)
    Leave the “Document Root” set to default.
    Select “Create”.

    And in the cpanel subdomain section I got:
    Subdomains: *
    Root Domain:
    Document root: /public_html/wildcard
    Redirection: not redirected

    I’ll ask Justhost what you said anyway.
    Thanks !.

    Perhaps it’s useful to say that I’ve been using the site you sent me:
    and no matter wich subdomain I try (even non existing subdomains, like, they all seem to be pointing to justhost (all green lights mostly).
    I’ve tried to make a new subsite, and I’m getting the same errors as the others already existant.

    So this is what happened,
    when I set the subdomain wildcards, the justhost cpanel (by itself) placed the term ‘wildcard’ in Document root: /public_html/wildcard
    So, I found a folder called ‘wildcard’ in my root.
    I deleted that setting and made a new one, erasing this word ‘wildcard’.

    Everything is up and running.
    All the sites and dashboards are just fine.

    For everyone else trying to do this, I recommend following this instructions:,
    written by Mika. (I skipped the step where she says: “edit all wp_posts (and wp_x_posts) tables with a search/replace of your domain name”, but perhaps I’ll have to do it in the future).

    Mika, THANKS!.

    Finally I did the replacement in the wp_x_posts tables,
    with this plugin:
    You have to do it from the dashboard of each subsite > tools > search and replace.

    Everything seems to be working.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Multisite Host Transfer Domain Changing’ is closed to new replies.