top of page

Moving my WordPress Site from Dreamhost to Amazon Web Services (AWS)

The article will review some of the high level steps I took to move my WordPress site from being hosted on Dreamhost over to AWS.

1. Create a Hosted Zone in AWS that matches your domain name

1.1 In the AWS console, navigate to Services > Route53 > Hosted Zones

Here you can see I have a few hosted zones, but for this article, we will be focusing on

1.2 Click Create Hosted Zone to create the new zone in AWS.

You will want to enter in the exact domain name that you are using today. Keep the defaults for the rest and click Create.

1.3 Confirm you now see your hosted zone in the list.

At this point, you are now ready to move on to updating your DNS records on your existing domain provider.

2. Create record sets in AWS on newly created Hosted Zone to match your existing DNS records.

2.1 Obtain your current DNS settings

You will need to login to your existing domain provider and review the DNS settings that are currently in place for your name. Here is a copy of what I observed in Dreamhost.

2.2 Select your Hosted Zone

You will now need to create these in AWS for the Hosted Zone you previously created. Click on the domain you created in the Hosted Zone list.

2.3 Then click on Create Record Set

2.4 Create Records Sets

Carefully go through the list you obtained from step 2.1 and ensure you create the EXACT same records in AWS. The only records you should omit for now are the Name Server (NS) records. Just leave those as is for now in AWS. You should have a list similar to the following (picture doesnt show all the records):

3. Update your DNS records on your existing domain vendor (Dreamhost in my case)

You may now update your domain registration with your existing provider to point to AWS Name Servers.

3.1 Obtain the AWS name servers from your hosted zone you previously created.

Search for the NS record type and obtain those values

3.2 Update your existing DNS settings

Login to your existing domain registration (Dreamhost for me) and point your name servers to the ones you obtained in step 3.1. Please note this could take up to 48 hours before your DNS settings are propagated. This all depends on your vendor. Please do not proceed to step 4 until you are sure that your DNS settings are using the AWS name servers.

4. Transfer your domain so that AWS has the registration