Possible solutions of your questions

  hosting
<< Previous       a copy of the site

Question: Good day! Is there a website with the domain http://bilasad.com/Нужен a separate website with a domain http://bilasad.ru which will copy the information of the site bilasad.composmon whether this is technically on the new host for bilasad.git.e. if I tell You another host, such as \"Large\" for the domain bilasad.ru may be that would of the database and files are copied daily to the domain bilasad.com.In this case bilasad.ru worked as a separate site.
Answer:

Hello. no this is not predstavlyaetsya possible. if you hotjet to the website opened at both addresses, just add the second domain as parkovanie

 

Question: I did, but at the same time bilasad.ru not a separate website, but only guides the visitor to the website bilasad.com
Answer:

this is an alias, ie a mirror. not directed Dorman and site settings

Question: in the browser in this domain меняетсяbilasad.ru becomes immediately bilasad.com
Answer:

minayeva your website. if you are setting up a website so that it is not dependent on the domain it will not change

 

Question: how to do it?
Answer:

what engine your website?

Question: Magento ver. IP
Answer:

You need to contact the support forum of your engine.

Answer:

http://community.magento.com/t5/Russian/bd-p/russia

Question: unfortunately I do not know how to communicate on the forums.Features of the engine allow for multiple sites.Here is described how it should делатьhttp://tagesjump.EN/blog/3/post/magento-80Все settings in the admin panel I proizvela here on the server - I don`t know what and where to do.I have a problem encountered here in this place:the Configuration of the Web server Now that Magento has received all the necessary information you need to determine how best to configure the web server. There are two most common method, widely used by owners of ecommerce sites: use of secondary domains or individual Director`s or Gemini-domains belonging to one Director (parked domains/ Domain Pointers) as well .htaccess rules. Domains to use a domain, you need to create a new directory, and configure the server so that the new addresses of links sent requests to this folder. You should then create a series of links-shortcuts (symlinks) in the primary Magento instance.These commands demonstrate that the current is not created in the database of the new store, and the primary instance of Magento are at a higher level in the hierarchy:ln –s ../app appln –s ../includes includesln –s ../js jsln –s ../lib libln –s ../media medialn –s ../skin skinln –s ../var var in addition, you need to copy the files .htaccess and index.php from the Director database in a new folder. And finally, the last line of new file index.php must be properly transformed, to be able to use the new code for the web site. Parked domains There are two ways of implementing method of Parking domains. The first is rather simple and uses SetEnvIf to makes changes in the file index.php. In the author case use RewriteCond and RewriteRule in the file .htaccess. Implementation of the method SetEnvIf Add these two lines immediately below the line \"RewriteEngine\":SetEnvIf Host .*newDomain.* MAGE_RUN_CODE=site_codeSetEnvIf Host .*newDomain.* MAGE_RUN_TYPE=website Method RewriteCond and RewriteRule, Add the piece of code below immediately after the line RewriteBase /Magento:RewriteCond %{HTTP_HOST} .*newdomain\\.com [NC]RewriteRule .* – [E=MAGE_RUN_CODE:site_code]RewriteCond %{HTTP_HOST} .*newdomain\\.com [NC]RewriteRule .* – [E=MAGE_RUN_TYPE:website] If You are trying to use the method of Parking the domain for the new store view, just change the MAGE_RUN_CODE to the code of the store view and MAGE_RUN_TYPE \"store\".
Question: I can`t do this because I do not understand them
Answer:

add a second domain as an extra, we will create a symlinks

Question: Created additional domain \"bilasad.ru\".An FTP account \"bilasad\" created.
Answer:

the request sent to the administrator

Question: thank you.Something else I need to do?
Answer:

while you wait

Answer:

We changed the IP of serverer

 

IP

 

 

 

IP

 

ftp and cPanel are available for this IP after the dns updates Your website will work

Question: thank you
Answer:

Thank you for Your understanding.

Question: Tell me on my question when will be able to work the website http://bilasad.ru
Answer:

the request sent to the administrator.

Question: thank you
Answer:

please Check now.

Question: Index of /.ftpquotaapp/
Answer:

this website not yet configured

Question: \"There are two most common method, widely used by owners of ecommerce sites: use of secondary domains or individual Director`s or Gemini-domains belonging to one Director (parked domains/ Domain Pointers) as well .htaccess rules.\"- tell me what method You used?
Question: now once again check all the settings, maybe I missed something
Answer:

we try a variant with links

Question: \"You also need to copy the files .htaccess and index.php from the Director database in a new folder. And finally, the last line of new file index.php must be properly transformed, to be able to use the new code for the web site.\"bilasad.com (Code: base)bilasad.ru (Code: ros)
Answer:

please Specify where to copy the file index.php?

Question: the link http://habrahabr.ru/post/91611/ - describe in detail how to edit the file index.php to Use different domain names for primerica.comshirts.com....Because, in fact, we have several domain names pointed to the same server where you installed Magento, you will have ruled for the original file index.php. So, replace stroomde::run();наswitch($_SERVER[`HTTP_HOST`]) { case `shoes.com`: case `www.shoes.com`: Mage::run(`shoes`, `website`); break; default: Mage::run(); break;}For more stores need to change the code in the following way:switch($_SERVER[`HTTP_HOST`]) { // Shoes.com case `shoes.com`: case `www.shoes.com`: Mage::run(`shoes`, `website`); break; // Hats.com case `hats.com`: case `www.hats.com`: Mage::run(`splash`, `website`); break; // Shirts.com (default store) default: Mage::run(); break;}In General, and all. After these manipulations, the store will be available at http://shoes.com/.
Question: In my case, need to replace stroomde::run();наswitch($_SERVER[`HTTP_HOST`]) { case `bilasad.ru`: case `www.bilasad.ru`: Mage::run(`ros`, `website`); break; default: Mage::run(); break;}
Answer:

where to replace?

Question: in the file index.php
Answer:

 index.php there is no such code.

Question: Good day! After You have changed the IP of serverer Srna IRNA site of the incident a very big change. Links that led to the different commodities have changed. Had to completely change all the links on the website. Then I noticed that you configured earlier advertising campaigns, has also ceased to conduct the client to the specified directory - I had to overwrite and there links. Now I found that price, who unloaded the goods from the site is no longer correct. You need to ask him the new algorithm, and it is worth the extra cost.In General, the effects revealed more... Even the search engine is now impossible to get to the product that is offered. How is it possible to automatically configure the redirection headings.
Answer:

your website has never on the IP. he vsegdzha was on IP

and on which site it is, we  worked exclusively with bilasad.ru

Question: I`m talking about http://bilasad.com/
Question: Is Your service message:We changed the IP of serverer Srna IPftp and cPanel available for this IP after the dns updates Your website will work
Answer:

bilasad.com we didn`t touch.

Question: they`re on the same cPanel
Answer:

what? the panel has nothing to do with the sites

Question: The fact that after this transfer there were data problems. Links to the product changed, they became longer. For example, instead of a reference http://bilasad.com/sinij-brjuchnyj-kostjum-dvojka-romana-40-52-alv2014.html For this product now link http://bilasad.com/catalog/product/view/id/910/s/sinij-brjuchnyj-kostjum-dvojka-romana-40-52-alv2014/category/97/
Question: if you previously had a link to the clothing category: http://bilasad.com/catalog/category//odezhda/то now http://bilasad.com/catalog/category/view/s/odezhda/id/35/
Answer:

we did not change anything on your sites. we worked only with empty domain folder     bilasad.ru  You have provided the user

Question: Yes, but the change is clearly what happened. I`m on the server doing nothing. Because of what happened, the changes need to find it and how to fix it. Help me in this.
Answer:

check .htaccess and website settings

Question: unfortunately, I don`t know what to check...
Answer:

 bilasad.com we did not change anything.

Question: can try to restore the Becky over the past few days, when this change has not happened. I have, unfortunately, the backup only 26.07
Question: now all links added view/s and idРань it was not. What could affect it? Maybe in the configurations I have not changed...
Question: these changes occurred only for the product categories. Links that don`t work with the catalog has not changed.
Answer:

you recover the files?

Question: what You have period?
Answer:

15-16

Question: sorry immediately thought of these changes is to blame You. Most likely it`s me that is not specified in the configuration and it was about 16-17. I will try to figure out what exactly I changed. If not found, it will restore the files.
Answer:

well

Question: error found and fixed. It turned out that according to the instructions on sea parameters in Magento, I change Use Categories Path for Product URLs, then changed and links. Now everything was back.I`m sorry that you got blamed in this situation. You did everything right and had nothing to do with any failures of the website. On the contrary, in every possible way help me in ego work.Sorry if I offended You.
Answer:

tell me learn to configure the second site? we created links in the folder of the ru domain , but it is not clear where to make changes in the file index.php

Question: on the forum Majano give the following explanations:I did shadowwarrior:1. The ID of the 1st shop mystore01домен - poddomen01.example.com2. The ID of the 2nd store mystore02домен - poddomen02.example.combat this code:switch($_SERVER[`HTTP_HOST`]) { case `poddomen01.example.com`: case `www.poddomen01.example.com`: Mage::run(`mystore01`, `website`); break; case `poddomen02.example.com`: case `www.poddomen02.example.com`: Mage::run(`mystore02`, `website`); break; default: Mage::run(); break; }it is necessary to insert in index.php before /* 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`;I Have works great... If the shops more, you are doing similar.Good luck!
Question: For our магазина:bilasad.com (Code: base)bilasad.ru (Code: ros)
Answer:

you inserted this code?

Question: yet
Question: according to this formula I got this:switch($_SERVER[`HTTP_HOST`]) { case \"bilasad.com\"the:case `www.bilasad.com`:case `bilasad.ru`: case `www.bilasad.ru`: Mage::run(`ros`, `website`); break; default: Mage::run(); break; }
Question: but I`m not sure that`s true.
Question: also, the administrator of the forum gives the following recommendations:since Magento 1.4, instead of creating new folders on the server, you can just configure the server MAGE_RUN_CODE and MAGE_RUN_TYPE variables.You can configure these server variables in the settings of the web server.For example, for the Apache web server, you can configure these server variables in the VirtualHost Directive.For example, you can write inside the tag VirtualHost:SetEnv MAGE_RUN_CODE \"example.ru\"SetEnv MAGE_RUN_TYPE \"website\"In this case, the value of the variable MAGE_RUN_CODE therefore corresponds to the site code that you yourself set in the administration part of Magento.If your PHP interpreter works as a module for the Apache web server, you can also define MAGE_RUN_CODE and MAGE_RUN_TYPE variables in the file .htaccess.For example:RewriteCond %{HTTP_HOST} ^(.*)example.ruRewriteRule ^ - [E=MAGE_RUN_CODE:example.ru]or this:SetEnvIf Host .*example.* MAGE_RUN_CODE=exampleSetEnvIf Host .*example.* MAGE_RUN_TYPE=website
Question: it is likely the settings on the BBC, so in my case will not fit.
Answer:

there are settings in Apache we have nothing to tragati will not, it is not possible

Question: I thought so. Then need to specify the path to the file.
Answer:

but in the file we do not found where to change

Question: at the very bottom, before /* 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);
Answer:

try inserting

Question: the code indicated was not working. \"Shut\" the entire site.tried switch($_SERVER[`HTTP_HOST`]) { case `bilasad.ru`: case `www.bilasad.ru`: Mage::run(`ros`, `website`); break; default: Mage::run(); break;}
Question: the site seems to be loading, but then SibCOTES has been an error processing your requestException printing is disabled by default for security reasons.Error log record number: 411839649814
Question: view and I`ll give it back.
Answer:

I looked. not working

 

Question: now added before $mageRunCode switch ($_SERVER[`HTTP_HOST`]) {case \"bilasad.ru\":$_SERVER[`MAGE_RUN_CODE`] = \"RUN_CODE\";$_SERVER[`MAGE_RUN_TYPE`] = \"RUN_TYPE\";break;//etc}website http://bilasad.com/ - work bilasad.ru - no change
Answer:

bilasad.ru forwarding n http://bilasad.com

Question: the bad thing is that bilasad.ru becomes bilasad.com and need that he remained bilasad.ru in which the goods and files bilasad.com
Question: although the redirection in the C-panel устанавливалось.bilasad.ru - installed as an additional domenirovanie beginning to work yesterday after work with links.
Answer:

perenapravlenie in indexada file. it works with folders enougho website. these folders are to

Question: now file index.php in the initial state - unchanged.
Answer:

that`s right. and you have opened the website from which it was taken.

Question: now bilasad.ru redirected to bilasad.com
Answer:

Yes. potamu that all folders make from this site and the index file too.

Question: again, \"at an impasse\" on how to make so that the website bilasad.ru existed separately and did not become bilasad.com. Because in fact, bilasad.ru - exists only as the main page bilasad.com only.
Answer:

maybe you need something to specify in the index fallen, but it is not clear where to insert the code

Question: read more forum. I will try to find the answer.
Answer:

OK


<< Previous