S
S
Sxquer2013-12-23 09:05:49
PHP
Sxquer, 2013-12-23 09:05:49

How to display one site through the domain of another?

There are two sites, big.ru and small.ru.
It is necessary to show the site small.ru on the big.ru/?q=small.ru page.
Redirect, parsing and frames are not suitable. Is it possible to do otherwise?
big.ru hosted with Apache, small.ru somewhere in the cloud, on a website builder. Both domains are owned on a separate panel.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
night_elf, 2013-12-23
@night_elf

apache mod_proxy
ProxyPass /foo foo.example.com/bar
ProxyPassReverse /foo foo.example.com/bar

N
Nikolai Vasilchuk, 2013-12-23
@Anonym

nginx proxy.
Look here for what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question