CNAME note

2

Good afternoon,

Maybe it's a fairly basic question, but I'm a little knowledgeable about DNS and need to clear up a question to avoid wasting time with propagation. Come on:

I have two domains hosted in two different places, say one in Locaweb and one in UOLhost. Let's call them domains X and Y, respectively. The goal is that when my client access the address www.domainx.com (which is already widely publicized) it falls on my site www.domainy.com.

I then thought about pointing the WWW.domain.com to the WWW.domain.com. Since both are hosted in different places, could I create a CNAME record in the X domain by pointing the name WWW to WWW.domainY.com? Is this the right way?

Note: My domain X.com hosts web applications from several clients, for example: client.domain.com, client.domain.com ...

    
asked by anonymous 16.12.2015 / 19:59

1 answer

0

If understood well within your X domain you have several subdomains for your clients, right? So you need to redirect your X domain to the domain Y address and maybe you have to do the same for the X subdomains (customer.domain.com, customer.domain.com ...).

If you can create a CName for the X domain where you can enter the IP of the server where the domain Y is, it will probably work. But I do not think you will have this option. In the case of domain Y, the CName works because they are on the same server. The simplest and fastest way is to do the redirect.

    
17.12.2015 / 20:12