Friday 14 March 2014

Pointer Domains

Pointer Domains

IMPORTANT: These instructions will work only for Magento versions 1.4.0.1 and higher.

  • Ensure that the domain name that you wish to use is pointing to the server.
  • NOTE: The Pointer Domain will be pointing at the Primary Domain where your Magento installation is located.
  • Edit the .htaccess file in the document root of your Magento Installation and enter the following just above the line RewriteEngine On :
    • Replace .*newstore.* with the domain name of your new store, keeping the dots and stars.
    • Ensure that MAGE_RUN_CODE matches the Code you wrote down when you created the new website above.
  •     SetEnvIf Host .*newstore.* MAGE_RUN_CODE=newstore SetEnvIf Host .*newstore.* MAGE_RUN_TYPE=websitecode
    • where newstore specifies the domain name of your new store, and websitecode specifies the store code created in Magento.
  • NOTE: The Pointer Domain will be pointing at the Primary Domain where your Magento installation is located.
  • Edit the .htaccess file in the document root of your Magento Installation and enter the following just above the line RewriteEngine On :
    • Replace .*newstore.* with the domain name of your new store, keeping the dots and stars.
    • Ensure that MAGE_RUN_CODE matches the Code you wrote down when you created the new website above.
  •     SetEnvIf Host .*newstore.* MAGE_RUN_CODE=newstore SetEnvIf Host .*newstore.* MAGE_RUN_TYPE=websitecode
    • where newstore specifies the domain name of your new store, and websitecode specifies the store code created in Magento.

    • You have successfully set up your pointer domain to work with Magento. You may now load your new domain in your browser and begin developing your new store.

No comments:

Post a Comment