Server ip address not redirect to domain

Keywords: WordPress - AWS - Technical issue - Domain Name (DNS)

bndiagnostic ID: b416d4cc-ddd7-78ff-2138-454d9cd34b2f

bndiagnostic output:

? Apache: Found possible issues
? Wordpress: Found possible issues

bndiagnostic failure reason: The documentation did not make any significant change

I read many documents on your forum. I found those 3 things i need to update pages. I updated everything but still having problem.

those examples are not redirect to domain:

but some ips are redirect to domain properly.

I have no idea why some of them works fine but most of others are not working. Could someone help me to redirect those ips to domain?

Hi @bayansuren,

You need to configure the WordPress domain:


Its already in the wp-config file

define( ‘WP_HOME’, ‘’ );
define( ‘WP_SITEURL’, ‘’ );

I saw regular and ips address redirect to domain.
when there is sub category and post it does not redirect.

Hi @bayansuren,

What doe you mean with sub category? A subdomain? In any case I recommend asking in the official WordPress forum.


We dont have any sub domain. I was thinking about some categories redirect fine but most of them not.
its like those ip/articles/CATEGORY/POST-SLUG.

But I just checked some ip/articles/manufacturing/POST-slug but most of them are not redirect.

I want to force redirect when it includes ip address. I am thinking about my apache setup has to redirect them but not working. I have no idea how should I redirect them. Any advice?

Hi @bayansuren,

You need to change to your actual domain.


thanks for the reply. actually its on my domain name. i was trying to protect my domain and gave the


Hi @bayansuren,

Ok, I checked the bndiagnostic information and it was there. In any case, I recommend asking in the official WordPress forum, the configuration seems ok. They might be able to help you better with this particular issue.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.