Most of the time we use temporary URL to check if site is functioning properly before updating name server.
But suppose you are using wordpress, then temporary url will not work, as by default wordpress work's on the url it has been installed i.e domain name.
In this case for wordpress to work on temporary url you will need to change site url in wordpress database.
If you are on cPanel server then temporary url will be http://ipaddress/~username.
Following steps will guide you to change wordpress URL:



Note: yourdomainname.com will be your actual url on which you had previously installed wordpress.
Temporary url will be http://ipaddress/~username i.e replace ipaddress and user name with your actual server ip address and cpanel user name.
That's all
But suppose you are using wordpress, then temporary url will not work, as by default wordpress work's on the url it has been installed i.e domain name.
In this case for wordpress to work on temporary url you will need to change site url in wordpress database.
If you are on cPanel server then temporary url will be http://ipaddress/~username.
Following steps will guide you to change wordpress URL:
1) Login to cpanel >> phpMyAdmin >> Select database for wordpress
2) Now you will see all wordpress tables, here locate for table wp_option and browse it as shown in the image below.
2) Now you will see all wordpress tables, here locate for table wp_option and browse it as shown in the image below.

3) On clicking browse button, a window will open containing multiple fields from the table, here look for column name option_name.
Now edit filed named siteurl and home which contains url on which wordpress was installed.
Now edit filed named siteurl and home which contains url on which wordpress was installed.

4) To edit database table field's click on corresponding pencil icon as shown in above image. This will open new windows for editing.

5) Now as shown in the above image replace http://yourdomainname.com with the temporary url and click on Go button at the bottom. Do this for both siteurl and home.
Temporary url will be http://ipaddress/~username i.e replace ipaddress and user name with your actual server ip address and cpanel user name.
That's all

Comment