Redirect site to another server via DNS

2

Alright?

I have a question. I have two servers: Locaweb (Windows Plan) and Hostgator (Linux Plan).

In Locaweb's plan are the emails and files of an internal company system made in ASP. In the Hostgator plan is the company's website and its manager.

How do I make a CNAME-type DNS entry in Locaweb to redirect only the site to the Hostgator server?

    
asked by anonymous 11.09.2015 / 15:16

2 answers

2

The question is old but I think it's worth answering.

You should point the A record to IP of the site in hostgator , do:

website.com -> IP
www.website.com ->IP

For the Locaweb email to continue working you should take the CNAME to the hostgator, check them out and see what they are needed, but you probably have to do:

Mx of locaweb put to mx in hostgator , smtp and pop of locaweb pass hostgador .

Mx
website.com -> algumserver.com

CNAME
smtp.website.com -> smtp.algumserver.com

And then we can have pop, mail, pop3 or even mail

pop.website.com -> pop.algumserver.com

It's just this someserver that should refer to the manuals or contact support for access. If you have access to this data by the panel, simply place them in hostgator .

    
17.06.2016 / 05:06
0

Can I target a Subdomain in the same way? Ex: WebSite is on a server (main domain) And you intend to create a Subdomain (/ store) but using another server?

    
27.11.2017 / 20:04