DEVOPS

How to create AWS Route53 hosted zone using domain from OVH

Recently I wanted to create a hosted zone on AWS Router53 for my domain from OVH. It’s a very simple operation.

Go to AWS Route53, select Hosted zones from the left menu and click on Create Hosted Zone button. In the form on the right, type Domain Name.

AWS Route53 - create hosted zone
AWS Route53 - create hosted zone

Click Create button on the bottom of the site. AWS site should redirect you to list of records. You should see a record with NS type. We have to set those values in OVH domain configuration.

AWS Route53 - hosted zone NS
AWS Route53 - hosted zone NS

Log in to OVH account, go do domains, select domain and go to DNS servers tab.

OVH - DNS domain servers
OVH - DNS domain servers

Warning. If you want to keep existing zones, create the same zone records in Route53 at first - just copy them from DNS zone tab on OVH.

On the right, click on the Modify DNS servers button. Replace (and add two more) OVH servers with AWS servers from NS type record.

OVH - DNS domain servers
OVH - DNS domain servers

Click Apply configuration button. It’s everything. We have to wait because propagating changes takes some time. If you moved zones from OVH to AWS Route53 before changing DNS servers, there shouldn’t be any downtime.

OVH - DNS domain servers in progress
OVH - DNS domain servers in progress

OVH blocks DNS update for 24 hours to avoid validation failure on your domain. If you want to speed up the operation, go to Recent tasks tab and use edit icon on the right.

OVH - DNS domain - avoid validation failure
OVH - DNS domain - avoid validation failure

You can remove everything from DNS zone later because it won’t be needed.