The MU forums have moved to WordPress.org

Domain/hostname change (2 posts)

  1. mccullrr
    Member
    Posted 14 years ago #

    Hello,

    I am new at wordpress and Linux. I had an instance of MU up and running on my Linux server. We decided to change the domain name / hostname and now I am unable to access the site; go.westliberty.edu

    I get this error:

    Fatal Error
    If your blog does not display, please contact the owner of this site.

    If you are the owner of this site please check that MySQL is running properly and all tables are error free.

    Could Not Find Blog!
    Searched for go.westliberty.edu/ in wordpress::wp_blogs table. Is that right?

    What do I do now?
    Read the bug report page. Some of the guidelines there may help you figure out what went wrong.
    If you're still stuck with this message, then check that your database contains the following tables:

    * wp_blogs
    * wp_users
    * wp_usermeta
    * wp_site
    * wp_sitemeta
    * wp_sitecategories

    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!

    The following is what I did to change the name:
    1. edit /etc/sysconfig/network and changed hostname
    2. restart xinetd
    3. edited /etc/hosts file to new hostname
    4. edited /etc/httpd/conf/httpd.conf
    5. edited /etc/httpd/conf/httpd.conf
    6. rebooted
    7. edited /etc/ssh/.sshd_config.swp
    8. edited /var/www/html/wp-config.php and changed domain current site
    9. checked to see if mysql was running and it is.

    Can anyone tell me what else I should be looking for?

    Thanks so much!
    Becky

  2. SteveAtty
    Member
    Posted 14 years ago #

    you need to search/replace through the whole of the database to replace all instances of the old domain with the new one. You can do it by exporting the DB and using sed:

    cat olddb.sql | sed -e "s/old.domain.name/new.domain.name/g" > newdb.sql

    then import the newdb.sql from the command line.

About this Topic

  • Started 14 years ago by mccullrr
  • Latest reply from SteveAtty