For Moving Magento Website:
Procedure for moving website:
1. Install Apache, MySql, PHP to new server
2.Take all the back up of code and database from previous server and put it on new server.
3. Now go to the table core_config_data and update coulmn where path web/unsecure/base_url and web/secure/base_url and value to your new website end with '/'.
4. Now edit app/etc/local.xml edit file according to your database configuration.
Its done.
Points Should Be Remind:
There should be .htaccess file on the root and it should be same as the previous server file.
Problems Occurs:
Mostly there are some problems occurs due to server migration.
Main problem is "404 Error Page Not Found"
For this there are two solution.
1. Configuration of .htaccess file should be correct.
2. /etc/apache2/sites-enabled/000-defualt.conf file configuration should be correct and also there should be following thing:
<Directory /var/www/html>
AllowOverride All
Order Allow,Deny
Allow from all
Require all granted
</Directory>
Procedure for moving website:
1. Install Apache, MySql, PHP to new server
2.Take all the back up of code and database from previous server and put it on new server.
3. Now go to the table core_config_data and update coulmn where path web/unsecure/base_url and web/secure/base_url and value to your new website end with '/'.
4. Now edit app/etc/local.xml edit file according to your database configuration.
Its done.
Points Should Be Remind:
There should be .htaccess file on the root and it should be same as the previous server file.
Problems Occurs:
Mostly there are some problems occurs due to server migration.
Main problem is "404 Error Page Not Found"
For this there are two solution.
1. Configuration of .htaccess file should be correct.
2. /etc/apache2/sites-enabled/000-defualt.conf file configuration should be correct and also there should be following thing:
<Directory /var/www/html>
AllowOverride All
Order Allow,Deny
Allow from all
Require all granted
</Directory>
No comments:
Post a Comment