A
A
arkanum2014-02-04 16:53:13
Domain name market
arkanum, 2014-02-04 16:53:13

How to redirect two domains to another domain?

How to redirect content from one domain to another?

For example: we have two domains - www.example1.ru and www.example2.ru, and there is a third domain www.domain.ru where all the content is located. When a user visits www.example2.ru, he is shown content from www.domain.ru, but the domain name is preserved, that is, there is no redirect.

The main domain www.domain.ru is connected to YANDEX DNS.
They say you can use aliases, but I can't.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2014-02-04
@inkvizitor68sl

> How to redirect content from one domain to another?
"How to dig wine"
What exactly do you mean by your phrase? 301 redirect? Mirror?

V
Vitaly Niksenkin, 2014-02-04
@404666

redirect, you can use the service https://2ns.info/domains.php?mode=redirect

I
iSize1ce, 2014-02-19
@Pavell18RUS

Create index.html (Make it like the main page).
And in it:

<html>
<?php
header('Location: http://site.ru/');
?>
</html>

After the user enters this index page, he will go to site.ru.
There, it seems, the code for closing the page will also be needed, that is, site.ru opens, site1.ru closes. But I don't remember if it's necessary or not, try it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question