In this article we will discuss How to use WordPress with a Temporary URL or IP address. There are a few reasons why you might want to do this:
- You plan on transferring your Website to/from another Host with zero down time
- Your DNS does not resolve to the server your WordPress installation is on
- Your Domain name is still pointed to your old Host
- You are unable to login to WordPress because you are redirected to a URL with your domain name after login
In this Guide:
→ What is my Temporary URL or IP address?
In Another Guide:
→ How to Preview WordPress Site when It’s not Live (without any DNS)
WordPress has a setting in the database called the Home and Site URL. The Home and Site URL setting defines what address you see in the address bar when accessing your WordPress website. In this article, we will address how to Use your WordPress website with a Temporary URL or IP address instead of a domain name.
How to Use WordPress with a Temporary URL or IP Address
Step 1. Locate the WordPress Database
Step 3. Copy your Temporary URL
Locate the WordPress Database
In order to change the Home and Site URL in WordPress you must make some changes in the database. Firstly, you will need to locate and confirm the name of the database which contains your WordPress installation.
Locate your cPanel Username and IP address
Once you know your database name, you will need to locate the IP address of the server and your cPanel username in order to update your Home and Site URL.
Changing the Home and Site URL in WordPress
Once you have the name of your WordPress Database, your server IP address and your cPanel username you can determine your temporary URL. Once you have your Temporary URL, you are ready to make the changes necessary to the Database in WordPress.
What is my Temporary URL or IP address?
where ‘xxx.xxx.xxx.xx’ is replaced with your site’s IP address and ‘exampledomain‘ is replaced with your cPanel username.