K
K
keslo2014-11-15 16:38:20
PHP
keslo, 2014-11-15 16:38:20

How to make a duplicate domain on the site?

Good afternoon, ladies and gentlemen!
I have a site site1.ru . Also purchased the site2.ru domain . There are pages on site1.ru , for example, at the link site1.ru/hello.html . How can I set up a second domain so that when opening the site2.ru/hello.html address, the content at the site1.ru/hello.html link is opened , but with saving site2.ru/hello.html in the address bar, respectively?
Those. sort of availability on two domains.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
KorsaR-ZN, 2014-11-15
@keslo

In your server settings, make the site2.ru domain an alias for site1.ru .
In DNS , for the second domain ( site2.ru ) , write an A-record referring to the IP of your server.

D
darwin_usb, 2014-11-15
@darwin_usb

Each normal hoster has such a feature as assigning the same directory to many sites. on the c-panel it comes out of the box.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question