WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite on reseller account domain problems (7 posts)

  1. em247
    Member
    Posted 2 years ago #

    I have a hostgator reseller account where I installed WPMS on one account. I built the site, then changed the domain nameservers from the old site to point to the new site. The name (diolex.org) resolves, but the browser still displays the IP address. What do I need to change to show the domain name? I tried to install domain mapping plugin, but it won't work because it sees the site as installed on a subdomain (I presume because it is a subaccount on my reseller account). Any help appreciated.

  2. jeezyo
    Member
    Posted 2 years ago #

  3. Basically go change it in the database.

  4. em247
    Member
    Posted 2 years ago #

    I've tried changing it in the database according to the the WP instructions (http://codex.wordpress.org/Changing_The_Site_URL), as follows:
    changed wp_options siteurl & home from "http://174.121.135.156/~diolex/" to "http://diolex.org/"
    After this, diolex.org resolves, but browser still shows 174.121.135.156/~diolex/. Also, page shows template but content = 404; perhaps this is because I haven't changed post info in database?

    Per multisite instructions, I understand I need to change wp_blogs, but I'm not sure how to deal with the two different fields (domain=174.121.135.156 path=/~diolex/) -- should domain ->"diolex.org" and path -> "/"?

    wp_config contains the following:
    define( 'DOMAIN_CURRENT_SITE', '174.121.135.156' );
    define( 'PATH_CURRENT_SITE', '/~diolex/' );
    Changing anything there results in "Error establishing database connection"

    I would really appreciate some explanations that would improve my understanding of this.

  5. You have to change *every* field in the db that had 174.121.135.156/~diolex/.

    Do a search and replace on the whole thing.

  6. em247
    Member
    Posted 2 years ago #

    Thank you -- I did try that before, but I must not have gotten all the changes right, because this time it (mostly) worked. I changed the path:"/~diolex/" instances to "/", which I might not have done before. For some reason the process killed my primary sidebar widgets, my header, and my background, but those are fairly easily restorable -- perhaps related to theme settings. Again, thanks, I appreciate it.

  7. The widgets died because some of the code in them is 'serialized' - which means it knows how long the URL string is. :) When you changed that, you broke it ;)

Topic Closed

This topic has been closed to new replies.

About this Topic