Erik Albin
Erik Albin

Reputation: 21

IP Address showing instead of Domain name on my Wordpress site

I am having an issue where I have a Domain name from Go Daddy, and I am hosting a WP site on Amazon Web Services EC2. I have already changed the A record to so the site pulls up anytime i go to www.bemoremarketing.com. Everything works fine until I hit the home bottom on the website. At that point the IP comes up in in the address bar. Any pages i access after that will have the IPaddress/page

From what I have gathered, I may need to change something in the wp-config.php, but I am unable to find where this is. Any help is appreciated.

Upvotes: 1

Views: 4982

Answers (4)

I have fixed the same issue. My domain name is purchased from GoDaddy too. I use a raspberry pi and wordpress to build a website.

For GoDaddy.com, following this explain,

  • Use Forwarding with masking in your DNS management.
  • After changing wait for a while.
  • Go to your website by searching your domain name and it won't change to IP address on the address bar.

I didn't modify WordPress Address (URL) and Site Address (URL)

Upvotes: 0

Luke
Luke

Reputation: 1

I do not know if this is still of interest but make sure you have all your pages linking to the actual www.yoursite.com

Also, make sure that your HOME link on the menu links to the www.yoursite.com instead of IP.

Changes made in the WP Settings > General are also needed.

Upvotes: 0

Midhun VP
Midhun VP

Reputation: 629

Go to settings of wordpress. Then, change the URL as given below. settings page

Upvotes: 0

Arend Oppewal
Arend Oppewal

Reputation: 31

You need to change the Site URL.

You can do this through the Wordpress Settings at Settings > General > Wordpress Address/Site Address, or in the wp-config.php file

define( 'WP_SITEURL', 'http://example.com/wordpress' );

For more details see https://codex.wordpress.org/Changing_The_Site_URL.

Upvotes: 2

Related Questions