how to manage magento multi site in local and in live server - php

I am still new to magento. I have successfully installed magento ce on my local wamp server. I choose magento because I heard that it has multi site feature. My client have three separate website that are running on three domain name(www.sample1.com, www.sample2.com, www.sample3.com). I am planning to control them on one admin.
I would like to know how can I manage to create multi site on my local and how can I upload it on live server.
Also, can someone explain to me in simple the architecture of multi site of magento. If I'm not mistaken, I understood it this way.
admin -> my backend maybe running soon www.sample1.com that handles all my website.
website -> This is where I will give separate domain. for example website one is running on www.sample1.com. website two is running on www.sample2.com. and finally website three is running on www.sample3.com
store -> I don't have clear understanding of it.
store view -> this is the presentation layer. the most fron-end of the website where products, themes are displayed.
This is kind of stupid but i'm still new to magento.
Thanks!

Related

A solution for the WordPress source logs system

We are a site design team.
There is a problem in our work, when we carry out the project and deliver the client, the other programmers who work for that client are changing their project codes, that's why we plan to implement a system that creates a log in WordPress. You can create a log on the change code.
For example, there's a plugin that logs out what a person does in the WordPress panel, but there's nothing to be done when WordPress Codes change.
Have a service or solution for this issue ???

How to link WordPress website to an external Laravel application?

I have developed a Laravel application that is currently being used by my clients. I am in the midst of developing a simple WordPress website to advertise my services and basically showcase what I do.
I'm unsure on what the best way is to link the two.
My domain is www.themacrocoach.co.uk
I'm thinking the best way to do this would be if the client logs in from: www.themacrocoach.co.uk/login
Which then automatically redirects to:
www.themacrocoach.co.uk/dashboard
Upon logging out, the user is redirected back the WordPress website:
www.themacrocoach.co.uk
The dilemma I have is how to set all this up? Currently my server only has the Laravel application residing on it.
Do I keep everything on one server or split them across two?

NewRelic with Prestashop Ecommerce Site

I have a Prestashop Site running on a Virtual Private Server (VPS)
in which I have correctly installed PHP New Relic Agent.
The agent is working fine and sending data to rpm.newrelic.
However, i have many web apps running on my VPS, under public_html/*
I want to discriminate on New Relic Dashboard the metrics for one particular site. Now is just saying 'PHP Application' and displaying data for all the server usage, including even phpmyadmin!
I know that I have to set (through New Relic PHP API) the following:
if (extension_loaded('newrelic')) {
newrelic_set_appname($name);
}
But where shall i put this snippet of code, inside a Prestashop ecommerce instalation?
Is there another way to do this, for each app that I have on my VPS?
Thanks
did you try to add this lines at the file: /config/config.inc.php?
This file uses only at the Prestashop, so other applications should not be able to influence to newrelic stats.
Regards, Alex

Move wp-admin to a subdomain on separate server wordpress

I have a wordpress site, foo.com. For various reasons, mainly caching, I need to move the wp-admin area to a subdomain admin.foo.com which is hosted on a separate server.
What's the best way to approach this, would a straight .htaccess rewirte work? I've seen that you can set WP_ADMIN_URL in wp-config.php but how do you separate the site in such a way that the amin sits on a different server than the rest of the site.
You can make use of two different installation of wordpress but the database will be same. One for staging and another for live
There isn't a way to separate the frontend and admin area of a Wordpress site onto two different servers. Wordpress is a web application. You get the whole thing as a package.
If you've seen something like this before, the site owner is doing one of two things:
They are running Wordpress on the admin site only, then using a plugin or some other technique to generate static HTML snapshots of the pages that form the public website.
They are using a staging site plus live site type architecture. Many of the new WP-specific hosting services include a staging site and a simple synchronization option.

Deploying custom website onto clients hosting

I have developed a website application that includes a custom built CMS and PayPal payments etc...
My client already has hosting for his main website via the developer of that site.
I wish to host the new application under a subdomain such as:
application.website.com
I have reservations about storing my complete source code on the other web designers server.
Is there a way that the code can remain on my server but with the required subdomain or somehow password protect the folder?
Thanks for the help.
You might be able to store your source code on your server and use the PHP include function to get the pages on your client's website to use the code on your server. I've not tried this so it may not be possible for PHP to communicate between two servers like this, but give it a go and see what happens.

Categories