Get a free website with any plan

See how
WORDPRESS

Viewing WordPress on a temporary URL before DNS

Last updated

IN SHORT

To preview a WordPress site on Flashcloud before DNS points to it, edit your local hosts file to map your domain to your server IP address. This overrides DNS for your computer only, letting you browse the live install and test changes without triggering WordPress redirect loops.

You don't need to wait for DNS to check a fresh WordPress install. Edit your computer's hosts file to point your domain at the server temporarily, or browse the site using your server hostname directly. Both let you view and click through the real site before any visitor can reach it.

Method 1: edit your hosts file (recommended)

The hosts file on your computer overrides DNS for your machine only. Point your domain at the server's IP address and your browser loads the live install while the rest of the world still sees the old DNS (or nothing, if it's a new domain).

  1. Find your server's IP address. It's on the service's details card at Services > your hosting in the portal (Server, IP, Hostname, Username).
  2. Open your hosts file:
    • macOS: /etc/hosts, edited with sudo nano /etc/hosts
    • Windows: C:\Windows\System32\drivers\etc\hosts, edited as Administrator
  3. Add a line at the bottom: 123.45.67.89 yourdomain.com, using your actual IP and domain.
  4. Save the file, then flush your computer's DNS cache so the change takes effect immediately. The command varies by operating system.
  5. Visit https://yourdomain.com in your browser. You're now looking at the real install on the server, not a cached or placeholder page.

Remove the hosts file line once your domain's DNS is actually pointed at Flashcloud and has propagated, so you go back to browsing normally.

A note on HTTPS during this step

SSL on Flashcloud is issued automatically by Let's Encrypt, but only after your domain's DNS actually resolves to us, typically within about 5 minutes of the DNS change. If you're viewing the site via a hosts file edit before DNS is live, the certificate may not exist yet and your browser may warn about the connection. That's expected. It clears up once DNS points here for real and the certificate issues.

Method 2: browse by server hostname

Your service's details card also lists a server hostname, which resolves immediately without any hosts file editing. You can often reach your account through it directly, though the exact path depends on server configuration, and WordPress's own URL settings may redirect you back to your real domain if the site's home and siteurl are already set to it. If a redirect loop gets in your way, the hosts file method above is more reliable for a full walkthrough.

What to check while you're previewing

This is a good moment to click through the install before anyone else sees it: theme and plugin activation, a test post, the checkout flow if it's WooCommerce, and any custom pages. If something needs fixing and you want to make riskier changes without touching the live site further, consider using WordPress staging instead of editing directly. And if the site already has content you care about, take a backup first, even on most hosting accounts with nightly backups a fresh manual one before you start poking around never hurts.

If the site feels slow during preview

A brand-new install with default content should load quickly. If it doesn't, don't assume it's the temporary access method, it's usually the same causes as any slow WordPress site. Confirm the LiteSpeed Cache plugin is active, since that's how the install talks to Flashcloud's server-level caching, and see My WordPress site is slow for the full checklist on plugins, images, and themes.

When to contact support

If you can't find your server IP or hostname, or the hosts file edit isn't showing the site after flushing your DNS cache and double-checking the line was saved correctly, open a ticket from Support in the portal. It's a real person, not a bot, and they can confirm the correct address for your account directly.

Common questions

Why am I seeing an SSL warning in my browser?

Your SSL certificate does not exist yet. Flashcloud uses Let's Encrypt to issue certificates automatically within about 5 minutes after DNS points to the server. The browser warning is expected and clears up once your DNS is live.

Where do I find my server IP address?

Find your IP on your service details card in the portal. Navigate to Services, select your hosting package, and view the card listing your server, IP, hostname, and username.

Why does the server hostname redirect to my domain name?

WordPress URL settings cause this when the siteurl and home options are set to your real domain. Switch to the hosts file method instead, which bypasses the redirect loop and allows a complete walkthrough.

Why is my site slow during the preview?

The access method is not causing the delay. Check that the LiteSpeed Cache plugin is active, which connects your WordPress install to Flashcloud server-level caching.

CAN'T FIND IT?

Real humans answer fast.

Hosting with us? Open a ticket and a real person replies - no scripts, no upsells. Still choosing a host? The same team is included with every plan, from day one.