Wordpress On Temporary URL

How to Develop Your WordPress Site on a Temporary URL

When migrating WordPress to Fast2host or building a new site while your domain is still hosted elsewhere, you may need to use a temporary URL. This allows you to fully test and develop the website before updating your nameservers or DNS.

Common symptoms that indicate you need to use the temporary URL include:

  • Your domain name has not yet propagated to Fast2host.
  • Your site loads without styling (plain text, missing CSS or images).
  • You cannot log in to wp-admin because the login redirects to your real domain.
  • WordPress settings still point to your old/active domain rather than the temporary URL.

1. Changing WordPress to Use the Temporary URL

WordPress stores your main website URLs inside the database. To preview your site through the temporary URL, you must modify two fields in the wp_options table:

  • siteurl — WordPress core address
  • home — Public-facing site address

Step A: Identify Your WordPress Database

If WordPress was installed via Installatron, the database name may look like username_wp1.

  1. Log in to cPanel.
  2. Scroll to the Databases section.
  3. Select phpMyAdmin (sailboat icon).
phpMyAdmin icon

Inside phpMyAdmin, click your WordPress database name on the left-hand sidebar:

Select database in phpMyAdmin

Step B: Edit the siteurl Value

Click the table named wp_options (or similar if you use a different table prefix), then click Browse.

Browse table

Look for the row with option_name = siteurl. Click the Edit (pencil) icon on the left.

Edit siteurl

You’ll see your real domain in the value field:

WordPress URL original

Replace it with your temporary URL, following this format:

http://site-ip-address/~cpanelusername/

Example from the screenshot:

Temporary URL example

Click Go to save your changes.


Step C: Edit the home Value

Click the Next button in phpMyAdmin to browse more rows until you find home.

Edit home URL

Change this value to match your temporary URL exactly as before, then click Go.


2. Test Your WordPress Temporary URL

Your site should now work correctly via the temporary URL. Visit:

http://site-ip-address/~cpanelusername/

You can also access the WordPress dashboard via:

http://site-ip-address/~cpanelusername/wp-admin/

The theme, styling, and images should now load correctly because WordPress is no longer redirecting to your real domain.


3. Switching Back to Your Real Domain

After updating your nameservers and DNS has propagated, you must update WordPress to use your final domain again.

Method A: Change URLs from WordPress Admin (Recommended)

  1. Log in to wp-admin via the temporary URL.
  2. Go to Settings → General.
  3. Update both fields:
    • WordPress Address (URL)
    • Site Address (URL)
WordPress temporary settings

Enter your final domain, for example:

https://www.yourdomain.com/
WordPress final URL settings

Click Save Changes.


Method B: Update URLs in phpMyAdmin (Alternative)

If WordPress admin is inaccessible, repeat the earlier database steps:

  1. Open phpMyAdmin.
  2. Edit siteurl and home again.
  3. Replace the temporary URL with your real domain:
    https://www.yourdomain.com/
  4. Click Go to save.

4. Final Notes

  • Clear WordPress cache if you use a caching plugin.
  • Clear your browser cache after switching URLs.
  • Full DNS propagation may take 24–48 hours.
  • If any URLs still point to the temporary address, run a search-and-replace plugin inside WordPress.

 

Optimised WordPress Hosting for Maximum Speed

Boost your website with our high-performance WordPress hosting, automatic updates, premium toolkit & built-in security.

View WordPress Hosting →
Was this article helpful?

mood_bad Dislike 0
mood Like 2
visibility Views: 11145

Need more information or have a question ?