Magento multi-domain with seperate backend domain - magento

Would is be possible to have Magento to be installed on domain-a.com but not using this domain as store front?
like this:
domain-a.com magento installation and backend access
domain-b.com store front 1
domain-c.com store front 2

The easiest way is to restrict the acccess to that domain only on your admin folder in your .htaccess or your vhost.
http://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup
here is a good tutorial.

Related

How to add subdomain to Magento?

I need to create geo subdomain for one city (for example shop.com & london.shop.com). I want the same store. But also I want to have different pages like:
london.shop.com/contacts & shop.com/contacts.
I use magento 1.9.2.1
you need to create multiple websites and store for different domain.create one folder on root and put index.php and .htaccess file and change in index.php store name or website name at last.
Please refer below link
http://inchoo.net/magento/how-to-set-multiple-websites-with-multiple-store-views-in-magento/

How to process checkout on secure subdomain like secure.doamin.com in magento

we have store in magento and it working fine we want to checkout of oder on sub domain secure.domain.com instead of same site so please tell me the steps how to achieve this functionality . Thanks in advance.
For a secure subdomain i.e. secure.domain.com , i assume you have created another website in magento admin.
What is required is that in admin
System > Configuration > Web>Session Cookie Management > Cookie Domain
add for that particular website domain as domain.com.
Check this link for more info,
http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/system_config/edit/web
Let me know if it works!

Magento: use subdomains as a CDN for media folder

We are planning to use subdomains ie.cdn1.example.com, cdn2.example.com to deliver product images.
How to configure Magento for this?
How to handle Magento cache folder which save auto-generated thumbnails as per template?
If you're using an origin pull CDN like AWS Cloudfront, you just fill in the information telling their system your web server name, they provide you with a server name (randomchars.cloudfront.net) on their end and then you use a CNAME record in your DNS to point their server name at your subdomain name like media.example.com.
Then your base media URL becomes http://media.example.com/media/ and everything's pretty much automatic from there.
Using origin pull gets rid of having to maintain a separate system to host your images and try to get Magento to upload to it, or figure out how to replicate Magento's media folder to it.

Trouble accessing a custom form on magento(multiple website) from url

I created a custom web form for a magento website, on a local server which has only one website setup, i could access the form using the URL but when i upload the module to the server which has multiple website setup, i cannot access the form using the URl ,
for e.g on my local server i could access the form as
http://localhost/cars/index.php/surcontest-contest
but when i upload the module e.g dev.test.org on the server(it has multiple website setup, more than 50 sites ) i could not access the form
http://dev.test.org/surcontest-contest (gives me a 404 error)
how would i access the module, how would i find out about the url to access the form.
Any help will be greatly appreciated.
Thanking you in advance.
1) clean cache to make sure that module installed (check it in admin or database)
2) check that url rewrites enabled and works (can you access some category or product page without index.php ?)
If your default URL is http://www.test.org/ then to access multiple sub domain you should enable from your domain panel by providing host stetting
Hostname=*.test.org, address=, Record Type=A(address)
Also, on your server add sub domain dev.test.org.
It will create dev folder in the public_html folder in file manager.
You should copy index.php and .htaccess file in that follows the magento multiple web site steps see the link
http://inchoo.net/ecommerce/magento/how-to-set-multiple-websites-with-multiple-store-views-in-magento/

Locking down multiple sites in Sitecore

I have two sites running under one Sitecore 6 installation. The home nodes of the sites are as such:
/sitecore/content/Home
/sitecore/content/Careers
Assuming the primary site is at domain.com, the careers site can be accessed at careers.domain.com.
My problem is that, by prefixing the uri with /sitecore/content/, any sitecore item can be accessed by either (sub)domain. For example, I can get to:
http://domain.com/sitecore/content/careers.aspx (should be under careers.domain.com)
http://careers.domain.com/sitecore/content/home/destinations.aspx (should be under domain.com).
I know I can redirect these urls (using IIS7 Redirects or ISAPIRewrite) but is there any way to 'lock' Sitecore down to only serve items under the configured home node for that domain?
I can't say for sure without testing it but you could try putting each site it its own security domain and denying access to each other. In the <sites/> node there is a domain="extranet" attribute, create a new security domain and set the Careers site to use it.
You can create new security domains using the domain manager in the Sitecore desktop.

Resources