D
D
Dmitry2014-08-21 13:34:26
Domain Name System
Dmitry, 2014-08-21 13:34:26

How to configure DNS of several domains (aliases) to look at one?

Such a problem:
There are several domains:
1. store1.site.com
2. store2.site.com
3. store3.site.com
4. store4.site.com

It is necessary that when you go to sites 2-4, they look in site 1 (store1.site.com) as an alias, not a redirect, i.e. their name was kept.

Now, as a test, these are subdomains from site.com.
It is possible to manage the DNS records of any of these domains, including the site.com domain.
I understand that this is done through the CNAME record, but my attempts were unsuccessful.

Help plz!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Slipeer, 2014-08-21
@Slipeer

That's right - you need three CNAME records in the site.com domain:
store2 CNAME store1.site.com.
store3 CNAME store1.site.com.
store4 CNAME store1.site.com.
Where did the hitch come from?

A
Andrey Burov, 2014-08-21
@BuriK666

If it is on subdomains, then CNAME.
CNAME cannot be attached to the domain itself. (CNAME must be a single entry, and the domain must also have an SOA)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question