A
A
Alex Shalin2014-12-04 13:06:18
Domain Name System
Alex Shalin, 2014-12-04 13:06:18

How to delegate site.ru to another subdomain sub.site2.ru?

Infobox.ru has a vps, it has a site.ru domain with ip
1.1.1.1 .ru
Now it is written in dns:

  • site.ru has A site.ru. 2.2.2.2.
  • site2.ru has A sub.site2.ru. 2.2.2.2.

As a result, now only the root site2.ru opens at site.ru, but how to delegate to a subdomain?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Petrikov, 2014-12-04
@RicoX

Proxy through nginx or alternatively make a 301 redirect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question