Posts tagged plesk

magento-logo

Create a multi-store setup in Magento

0

Provided you do not need an ssl cert for each domain it is relatively straight forward to create a multi-store setup.

1) configure magento.

In system > manage stores

Add a new website, store and store view for your new site. Remember the code for the website.

2) Create a domain alias for you new domain pointing to your existing domain.

3) Add a little logic to index.php


umask(0);

if ($_SERVER['HTTP_HOST'] == "newdomain.com" || $_SERVER['HTTP_HOST'] == "www.newdomain.com"){
$_SERVER["MAGE_RUN_CODE"] = "website_code";
$_SERVER["MAGE_RUN_TYPE"] = "website";
}

/* Store or website code */
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';

/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';

Mage::run($mageRunCode, $mageRunType);
plesk

How to add www retrospectively to plesk domain.

2

Plesk is just wonderful.. when you happen to know where Parallels hide all the goodies. While browsing around forums we requently find people asking the same question.. If I create a domain in plesk but dont tick either the www box or the mail box how do I add it afterwards?
(more…)

magento-logo

Magento multistore setup under Plesk

12

Please note there is an easier way which may suite your setup better: http://dx3webs.com/front/2011/09/create-a-multi-store-setup-in-magento/


Magetno is a very powerful and flexible e-commerce platform which can allow a single installation of the platform to support multiple sites on multiple domains, sub-domain or folders.
This tutorial assumes you have a linux based Plesk server with SSH access and that each store will be on a seperate domain.

(more…)

plesk.logo

Host a subdomain on a different / remote server using Plesk

3


I have added this post due to the wide range of conflicting information that is currently on the web around this matter. We have seen people who should know better telling people that it is not possible and others just giving plain wrong explanations.

(more…)

Go to Top