Redirect site to another server via DNS

Asked

Viewed 3,843 times

2

all right?

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 system of the company made in ASP. On the Hostgator plan is the company website and the same manager.

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

2 answers

2


The question is old but I believe it is worth answering

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

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

For the Locaweb email to continue working you must take the CNAME for the hostgator, consult them and see which ones are necessary, but it is very likely that you will have to do:

Mx of locaweb move on to the mx in the hostgator, smtp and pop of locaweb move on to the 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 someone that we should consult the manuals or contact the support to have access. If you have access to this data from the dashboard, just put it on hostgator.

0

Can I direct a Subdominio the same way? Ex: Website is on a server (main domain) And it is intended to create a Subdominio (/store) but using another server?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.