R
R
Reiters2020-11-16 08:54:18
Domain Name System
Reiters, 2020-11-16 08:54:18

How to force a site to open a directory as a separate domain?

There is a page like "test.ru/catalog", you need the ability to open it at the address "testcatalog.ru". How to implement this through dns records?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yakov, 2020-11-16
Svetsky @jamessvetsky

In order to open a page like "test.ru/catalog" at testcatalog.ru, you need to either redirect testcatalog.ru to test.ru/catalog, but in this case it will be displayed as test.ru/catalog, or create a separate site testcatalog .ru, and replace test.ru/catalog links with testcatalog.ru. In this case, search engines will naturally consider this a separate site and keep their own separate statistics.

S
StApostol, 2020-11-16
@StApostol

Configure nginx/apache so that the domain looks in the right folder For
nginx , you can see the example https://www.keycdn.com/support/nginx-directory-index /HTTP/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question