IP Address showing instead of Domain name on my Wordpress site - wordpress

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.

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.

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

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.

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)

Related

How do I show my local WordPress site to someone?

I am doing a work from home web development internship. I was asked by the recruiter to make a website on WordPress. I have done the work but the site is hosted on the localhost as of now. How do I show it to my recruiter in order to get the weekly feedback on my work? I have never worked on WordPress before. Is there any way out?
You are in the same network then you can follow these steps to show your site to someone.
go to Admin Panel > Settings > General and replace your localhost with your ip-address for WordPress Address (URL) and Site Address (URL) and see if it works. Also, don't forget to put your WAMP/XAmpp server online.
Reference
If you are not in the same network then you should use Skype or TeamViewer to show your site.

IP address showing instead of domain address for my wordpress website

I have a domain name from NameCheap, 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 myDomainName.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.
I know I may need to change something in the wp-config.php, but I don't think I have this file on my computer (I used AWS to launch WP, and I don't think I have download anything about WP except some plugins). My website address change option in setting-general on WP is also greyed out so I cannot change it. Anyone has any idea how I could make my domain name display?
Any help is appreciated. Thank you so much!!
have you tried changing your home and site url in wp-admin? If you go to wp-admin/options.php you can change the home and site url fields to your domain name. You can also do it through phpAdmin or editing the DB directly (wp-options table).

Having problems with ip address showing up on my address bar instead of domain wordpress site

I just recently moved my wordpress website from inmotion hosting to aws lightsail. I used all-in-one migration tool to migrate wordpress to new instance I created. I added DNS A-records, MX, TXT and CNAME. I changed nameservers on my Godaddy domain to point to it. If you go to greeksandscholars.store it shows up store I migrated. So my problem is that if I want to log in to my wordpress(on lightsail) I have to use the ip-address/wp-admin but if I try to use mydomain/wp-admin it sends me to my old wordpress site and I see the following screen.
when I login using domain/wp-admin
I tried to change the siteURL and homeURL but they show up greyed out. I have gone to wp-config to change it there but last time I did that it gave me a white blank screen. I am bit stumped at this point on what else I need to do to fix this issue.
When you add or update your DNS records it takes a couple of hours to reflect. Alternately I feel you may be forwarding your domain to an IP address.

Website links keeps on redirecting to temporary address

I created a blog at a temporary address provided by my web host.
After buying a domain, I pointed it to the nameserver but the domain always redirects to the temporary address on clicking links.
Support asked me to configure wordpress to my domain name.
I am clueless how to do this. Please help.
Thanks.
Go to your wordpress dashboard -> settings -> general and make sure that your WordPress Address (URL) and Site Address (URL) are correct!

Wordpress Multisite: Mixing IPs, domains and URL Proxies

Our company is trying to transition to WordPress Multisite but we have several issues working against us at the moment. We host WP outside our server environment (we use Amazon for our WP sites) so we actually have to use an URL proxy to our Amazon servers. The other issue is that we needed to install Multisite in the root of the folder so the domain is http://100.10.20.30/foldername but we can't proxy that to http://www.domain.com/foldername because that is a live site that we're not moving to WP any time soon. So, of course, the problem we're running in to is that the IP is showing up not only in the source code but in Google now as well (which we don't want).
Does anyone know of anything we can do to keep the IP out of the source code/Google? I was thinking about rewrite rules in the htaccess file but didn't want to do anything until I had some better ideas.
Also, I can't use the domain mapping plugin that everyone seems to suggest for this type of issue because our sites aren't hosted in the root of our server (a prerequisite for the plugin).
So to break it down, this is what we need:
Multisite Parent Blog <-- This has to be the IP address
Multisite child blogs <-- Domain name but when we set the actual proxied domain name in the settings we get a 404 error because it's not looking in the right place. It's looking for an actual folder on our internal servers.
Thanks!
Found the solution myself. Posted below:
In the Multisite dashboard, click on "All Sites" then administer the specific site.
Under the "Path" field, you'll need to deselect the "Update siteurl and home as well."
Save changes.
Click on "Settings" tab.
Change the URL in the following fields: "SiteURL" and "Home"
Save changes.
When all is said and done, the IP is showing in the "Info" tab but it changes the URL in the source code to your domain.

Resources