• I have the database of a 3.9.2 wp installation.
    I have to restore it on a new server.
    I do not have the files of the previous installation (only wp-config and .htaccess) so I have to start with a fresh 3.9.2 wordpress.

    What are the steps I should follow?

    I tried to
    – create a mysql user and a database
    – the user has all the priviledge
    – restore of the database
    – configured the virtual host and decompressed wp 3.9.2
    /var/www/mysite
    – copied and adjust wp-config with the new mysql user password
    (the db and user name are the same)
    – copied .htaccess

    When I browse https://www.mysite.com I get the apache welcome pache…

    Thank you.

Viewing 1 replies (of 1 total)
  • Thread Starter sirio81

    (@sirio81)

    Ok, i found the mistake:
    in the virtualhost config file I set ‘ServerName https://www.mysite.com’ instead of ‘ServerName mysite.com’.

    At this point the home page was visible but any link was not working because mod rewrite was not enabled.

    a2enmod rewrite
    service apache2 reload

    I forgot also to mention that the server is a debian wheezy 64 bit.

Viewing 1 replies (of 1 total)
  • The topic ‘New installation, old database’ is closed to new replies.