Wordpress and Netlify DNS question

I currently have a website that is hosted on Wordpress. I built a new version of this website and the new version is currently deployed on Netlify.

I want to use the existing url for my Wordpress site and copy it over to Netlify. The end goal being that the url will then point to the Netlify site.

Netlify site is: http://giboneyelectric.com/

Can anyone help me with how this is done?This is my first time doing this and any insight is appreciated.

The easiest thing to do is follow the instructions in the following support-guide

Thanks - if I am following correctly, it would make sense to use the External DNS options within that guide. Does that entail simply creating the Type A and CNAME records within my wordpress dns record settings?

You are correct on both counts @aburg15 :+1:

If i am adding external dns records to wordpress, should I remove the below production domains below? giboneyelectric.com is the exsisting url used on wordpress, not sure that I need to include that here as well?

No. If you want to use that domain for this site, you need the domain assigned to the site here as well. This means people who visit your domain will see the site hosted here and not on WordPress.

Thanks, any concerns following this process and it impacting the existing email domain that is being used on wordpress? The email domain is also giboneyelectric.com. Just want to make sure I don’t impact the email service by adding the two dns records discussed above.

The beauty of using external DNS configuration is it doesn’t impact other services (like email) unless you modify the records associated with them.

If there are queries regarding the DNS changes in WordPress I suggest checking out their support guides.

As a separate thing, I see there are two SPF records. This is not valid; only one may exists. You need to merge the two records.

Is the two SPF records issue a change I can make on netlify? This is a new process for me so I’m not too familiar with SPF records. How can you see that there are two? Thanks!

No. DNS is still handled by WordPress. All DNS changes need making there.

Multiple ways. Personal favourite is the CLI tool dig

$ dig giboneyelectric.com TXT
giboneyelectric.com.	4502	IN	TXT	"v=spf1 include:_spf.mboxhosting.com ~all"
giboneyelectric.com.	4502	IN	TXT	"v=spf1 include:spf.titan.email ~all"

Alternatively an SPF validator such as the one provided by Mail Hardener. There are others but these are the best/easiest.

Thank you. One last thing (I hope lol), the wordpress instructions indicate I should add two A records to the WordPress DNS settings (see below). The guide you referenced earlier only indicates one A record should be added. Can you help me with the second A record and what that should be?

The instructions are incorrect. The only records required are those shown in the quite start guide I shared in my first reply.

1 Like

Hi @dig

I Wanted to confirm the CNAME value I should use below.

Here is what I have so far:
Type: CNAME
Name (Host): www
Alias Of (Points To): (see below question on this one)
TTL: 3600

What should I use for the Alias Of (Points to) field?

For the www host the value (Alias Of) is the Netlify subdomain steady-otter-8637c4.netlify.app.

1 Like

Really appreciate your help @dig

The below guide seems to indicate that I should delete all records from my DNS zone. I thought you said in one of your previous replies in this thread that I should not delete these from my production domains. Can you confirm the below guide is incorrect and that I should not delete these items from my Production Domains section? I made the changes to the wordpress dns records we discussed and I am running into a “Your connection is not private” message on the page and I am concerned I did something wrong.
Thank you!

Where does it say that?

This is because an SSL certificate is not active. It is possible that DNS isn’t fully propagated.
You can try manually issuing a certificate at the bottom of the Custom domain page in your dashboard.

Please see below - this is from the guide I listed in my previous response.

This is only applicable if you have added the domain to Netlify DNS.

Ok - I was under the impression that I did add the domain to Netlify’s DNS. To confirm, I am still using wordpress’s dns settings for this process. I appreciate your patience with me, this is my first time going through this process and still learning!

If you are using external DNS you do not add your domain to Netlify DNS. You assign it as a custom domain and configure the DNS records as per the guide. Using Netlify DNS requires you change name servers to those assigned by Netlify and not use WordPress name servers.

If it shows Netlify DNS next to your domain as per the screenshot then yes, you need to remove the domain from Netlify DNS. The DNS records you have in WordPress are correct for external DNS configuration.