A
A
alex_belouss2017-03-09 20:39:03
Apache HTTP Server
alex_belouss, 2017-03-09 20:39:03

How to open site.ru when opening site.site.ru?

There is a task. When opening the my.domain.ru site, the domain.ru site should open, that is, the domain.ru site should actually be displayed without a redirect. For example, there is a page domain.ru/about, when you go to the address my.domain.ru/about, domain.ru/about should be displayed, how can this be resolved with htacess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
entermix, 2017-03-09
@alex_belouss

How can this be resolved with htacess?

No way, specify the required DocumentRoot in the apache virtual host settings
. add a subdomain, and specify the root directory the same as the main site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question