How to separate HTTP and IMAP access from the same domain on different servers?

1

I have a hosting account on Locaweb, logically IMAP and HTTP . I am planning to migrate to AWS (Amazon Web Service) . However, before making such a change, I first want to only change the access to the site (HTTP) of the domain, and leave the IMAP email accounts still in Locaweb (same domain). Emails have 10GB, and I need to take it easy.

An easy way to do this " redirect "? I thought about messing with the DNS settings within Locaweb and redirecting access to the site to the IP in AWS. But I do not know if this is going to affect the email.

    
asked by anonymous 01.11.2014 / 19:28

1 answer

0

I solved the question as follows. The only really different step is setting up on Locaweb. Settings in AWS typically occur as if you were creating a new domain.

Locaweb actions

  • I joined the DNS Manager

  • I changed the Entry ". , for the public IP of my instance in AWS (this means that the forward root folder is redirected to IP)

  • Domain configuration remains normal on Locaweb

AWS actions

  • I accessed the Route 53 feature and inserted a new " Hosted Zone " from my domain (before Locaweb) with all the basic and normal settings of associating a Hosted Zone with a instance (here is the same IP of my instance in the AWS that I configured above in Locaweb)

  • I make the normal configuration in Apache to receive the domain and root folder.

That way, whenever I access HTTP (with or without WWW) it is redirected to AWS. If I access my email through Outlook for example, it works normally. Just like Webmail.

    
24.02.2015 / 16:23