Tag Archives: DNS

How to Update your DNS on WP Engine via cname or A Record

UPDATE YOUR DNS VIA CNAME OR A RECORD

The final step of the migration process is to direct traffic to the WP Engine website. In other words, when people go to your domain name, we want them to see the website hosted on WP Engine. This will require updating your domain’s DNS zone file record with your WP Engine IP address. By the end of this step, when people to go your website using the domain name, they will be directed to your newly migrated website.

Before continuing we’d like to make you aware that there are two methods in configuring your DNS:

  • CNAME
  • A Record

We highly recommend all of our customers utilize a CNAME when configuring DNS as this provides flexibility in the event that your site needs to be migrated. Unlike an A Record that utilizes an IP Address, a CNAME will never change even if your site moves to a different server.

WEBSITE PREPARATION:

If you’ve used the hosts file trick to view your website on WP Engine, you can proceed to the next step. If you’re still using the temporary URL (ex: [sitename].wpengine.com) then you will need to update the URL to your live domain.

  • Update WordPress URL

LOCATE WHERE YOUR DNS IS HOSTED:

If you already know where your DNS is hosted, you may skip this part and proceed to the next step. If you’re not sure who hosts your DNS record, you may do a WHOIS record lookup. Go to pureWhois, type in your domain name, and click on ‘Search.’ On the next page you will see a long record. Towards the bottom of a page, locate a section called “Name Servers.” The Name Servers are usually named after the company where you have the DNS record hosted. So for example, if one of the Name Servers is called ‘COCO.NS.CLOUDFLARE.COM’ then that means the DNS record is hosted with CloudFlare.

Please note that there are host providers that own the nameservers, such as BlueHost, and because of this you will need to setup your nameservers elsewhere. Your current host can help you determine how to move your nameservers.

LOG INTO YOUR DOMAIN MANAGER:

Once you’ve identified where you domain’s DNS record is hosted, the next step is to log into your Domain Manager to change the DNS zone file record. Below are the links to the common DNS hosting companies with their instructions on how to access the Domain Manager:

UPDATING THE RIGHT RECORD

You will only need to perform one of these. WP Engine recommends only utilizing the CNAME as described at the top of this article, as this makes your site more flexible in the event it needs to be migrated.

Update The CNAME

Once logged into your Domain Manager, select CNAME for your Record Type (also called Zone Function) instead of A Record. Once changed, input your WP Engine CNAME, which is going to be yourinstall.wpengine.com. You can learn more about finding your CNAME here. Save the record and allow a few hours for the DNS propagation period to take place.

Update The A Record

First, you’ll need to find the IP address that is associated with your WP Engine account. To locate the WP Engine IP, you can follow the steps in this document: “How to Find Your IP Address?” Additionally, you can simply ping [yourinstall].wpengine.com. If you don’t know how to ping a domain, you can use this website to find your IP: Site24x7. Just type in the [yourinstall].wpengine.com address, enter the access code, and click on the button ‘Find IP.’Lastly, you can find the IP address associated with an account by logging in to your User Portal, clicking on the account that you need the IP for, and looking at the Overview Page:User Portal IP

The ‘A’ record controls what IP address your website traffic goes to. All other records will stay the same. Locate the ‘A’ record instances of your current IP address and replace it with your WP Engine IP. Save the changes, and now we have to wait. On average, it takes 2-4 hours for the DNS record change to take into effect, but technically speaking it may take as long as 24 hours total. This is a result of the IP change having to propagate to servers across the world, and unfortunately cannot be expedited.

Once you’ve configured your DNS, you may use the Launch Phase within the Migration Checklist to verify that your DNS has been pointed to us; which you may find in your User Portal.

Read More »

Configuring DNS for your GoDaddy email in cPanel

Big shout out to GoDaddy customer support for constantly empowering clients like me to effectively do our jobs!
After migrating a domain from another Godaddy account, unbeknowst to me we inherited DNS settings for legacy GoDaddy email. Gotta clear the cnames and start adding everything below so it matches this exactly. Figure this, to save $30, 40 or $80 a year on free email with hosting…. you should be willing to take a hit for the team and get someone to manage your DNS!

If your domain isn’t registered in the same account as your hosting or it’s registered elsewhere, use the following DNS records for your cPanel shared hosting account’s Web hosting and email.

NOTE: DNS changes can take up to 48 hours to take effect across the Internet.

Mandatory

Record Type Host Points to
A (Host) @ Your hosting account’s IP address. For more information, see Finding Your Hosting Account’s IP Address.
CNAME www @
CNAME mail @
MX (Mail Exchanger) @ mail.[your domain name], for example mail.coolexample.com

NOTE: Use MX Priority 0

You must delete any other MX (Mail Exchanger) entries in the DNS zone file for your email to work. The MX entry listed above should be the only MX entry.

If you have your cPanel site set up on a subdomain (e.g. cpanel.coolexample.com), replace each instance of “@” with your subdomain and use the domain name including the subdomain in the MX record.

If your domain is registered here, you can make these changes through your domain’s DNS manager. For more information, seeManaging DNS for Your Domain Names.

Optional

You do not need to add all of these records to your zone file, but doing so will make certain functions work, such as Autodiscovery through Outlook.

Record Type Host Points to/Value
A (Host) admin Your hosting account’s IP address. For more information, see Finding Your Hosting Account’s IP Address.
CNAME autoconfig @
CNAME autoconfig.admin @
CNAME autodiscover @
CNAME autodiscover.admin @
CNAME cpanel @
CNAME ftp @
CNAME mail @
CNAME webdisk @
CNAME webdisk.admin @
CNAME webmail @
CNAME whm @
CNAME www.admin @
TXT @ v=spf1 a mx ptr include:secureserver.net ~all
TXT admin v=spf1 a mx ptr include:secureserver.net ~all
Record Type Service Protocol Name Priority Weight Port Target
SRV _autodiscover _tcp @ 0 0 443 cpanelemaildiscovery.cpanel.net
SRV _autodiscover _tcp admin 0 0 443 cpanelemaildiscovery.cpanel.net

You can also remove the following DNS entries:

CNAMEs — email, imap, pop, and smtp

Read More »

Domains, Hosting, DNS, email oh my!

Domains, Hosting, DNS, email oh my!

bc.domains-hosting

 

When staging your website for launch…

GoDaddy – Working with Preview DNS

Date Submitted: 10-29-2012

Preview DNS lets you test your website prior to launch to ensure it displays and behaves properly on GoDaddy’s hosting servers before modifying your domain’s DNS record. This is beneficial when you are setting up a website for a domain that is currently active, either in your account or with another hosting provider.

When you enable Preview DNS, a subdomain is created on our server that temporarily houses your website. If Preview DNS is applied to www.coolexample.com, the preview URL is www.coolexample.com.previewdns.com.

NOTE: If you have multiple domains on your hosting account, preview them using www.coolexample.com.previewdns.com/path where path is the folder for your other domain.

Any internal links in the code are translated to point to the Preview DNS site. This process ensures that all paths can be tested appropriately prior to pointing your DNS record to our hosting servers.

NOTE: Some features such as Flash® and JavaScript do not work with Preview DNS.

To Enable Preview DNS or Preview Your Site

  1. Log in to your Account Manager.
  2. Click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Server Details section, click Show details
  5. Click Preview to display your primary domain’s DNS information.
  6. If Preview DNS is not already enabled for your account, click Enable. If it has expired, click Renew.
  7. If Preview DNS is enabled, click Preview.

NOTE: Preview DNS expires after 14 days but may be reactivated at any time by repeating these steps.

To Make Your Site Live

In the Server Details section, click Preview, and then click Make this site live.

NOTE: If your domain’s DNS record is not under our control, you will not see the Make this site live button. You must manually update your A record with your hosting account’s IP address for your site to publish to the Web.

Read More »