S
S
sarkisssik2014-10-04 01:37:45
1C-Bitrix
sarkisssik, 2014-10-04 01:37:45

Problem with Bitrix (several sites). How to solve the problem with domains?

Hello. There are two different domains: test.ru and test2.ru .. The main domain is main.ru (it contains all the files).
Both sites have a common control panel, but with different directions.
The site test.ru loads and works without problems, but the site test2.ru (located in the folder of the root directory (/test2/) does not work correctly (uses elements of the first site, but in a different template). BUT, if you go to the address test2.ru /test2/ everything works fine ..I can’t figure out what I need to do, it seems that I didn’t touch anything in the admin panel, but a failure occurred ..
What I need to understand is how to display data from the address test2.ru/test2/ simply I
attached two screenshots .. The ok24it.ru domain does not work correctly on them, but it works at ok24it.ru/ok24it/ .
Thank you
a48f1aea47784f978c35c090566fcbf6.PNGca6ff7861a97495eb7510990132a2730.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
asdz, 2014-10-04
@asdz

You need to make a second virtual host in Apache for the test2.ru domain, which will have its own separate folder not in the test.ru folder. Copy the test2.ru structure there, make symlinks to the folders of the Bitrix engine. Detailed instructions: https://dev.1c-bitrix.ru/learning/course/?COURSE_I... The second option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question