Open your new hosting before your domain points to it
Short answer
Open the new hosting through the temporary address in its control panel, or with one line in your computer’s hosts file. Switch your domain over at the very end.
- Result
- Your new hosting opens in your browser
- Cost
- Free
- Your visitors
- See the old site until you switch
- Domain switch
- A few hours, up to two days
Which way fits you?
- The temporary addressEasiestWorks right away, if your host gives you one.
- The hosts fileYour real domain, on your computer only. About five minutes.
Until you switch it, your domain leads to the old hosting, or nowhere yet. So typing your domain doesn’t reach the new hosting.
Before you start
- You can log in to your new host’s control panel.
- You know the file or page you want to open, for example the helper
reprint-web.php. - For the switch at the end: the login where you manage your domain.
The temporary address
Many hosts give each hosting package an address of its own that works right away.
It may be called Temporary address Many hosts give a new hosting account an extra address. With it you can open the site before your own domain points there., temporary domain, preview or test domain. Look in the control panel near your website or domain:
| Control panel | Where to look |
|---|---|
| Plesk | Websites & Domains, the Preview button under your site’s name. Copy the whole address from the browser’s address bar. |
| Hostinger | Websites, the menu next to your site, Website details: the preview domain. |
| Bluehost | Websites, Manage Site, Overview: the temporary domain. |
| cPanel | Some hosts add a Website Preview button. Plain cPanel has none. |
| GoDaddy (cPanel hosting), SiteGround | Usually no temporary address for a site set up with your domain. Use the hosts file. |
Copy the whole temporary address, with
http://orhttps://at the start.For example
https://abc123.example-host.com.Add the file name to the end of the address.
The helper then opens at
https://abc123.example-host.com/reprint-web.php. The wp2wp.link guide builds that link for you when you paste the address.Open that link in your browser.
No temporary address? Ask your new host’s support: “Is there a temporary or preview address for my hosting, so I can open it before I point my domain to it?”
The hosts file
One line in your computer’s Hosts file A small file on your own computer. It can point a domain to a server you choose, but only for your computer. sends only your computer to the new hosting when you type your domain.
Check first: this way opens your domain with http://. For some domains, browsers refuse that. The wp2wp.link guide checks your domain and only suggests the hosts file when it works. Otherwise use a temporary address, or ask your host’s support for one.
In your new host’s control panel, look up the hosting’s IP address.
Or ask its support.
Add one line to your hosts file: the IP address, then your domain.
It takes about five minutes: change the hosts file on Windows, Mac or Linux, step by step.
Open your domain with
http://in your browser.Only your computer sees the new hosting. Your visitors notice nothing.
At the end: point your domain to the new hosting
Once the copy is finished, switch the domain so everyone sees the new site.
Email: new nameservers replace all of your domain’s settings, including where email goes. If your email works today, change only the A records, or have your new host copy the email settings (MX records) first. Mailboxes at the old host stop when that hosting ends: copy them before, for example with mail2mail.link.
Ask your new host what to enter.
Usually two or more nameservers (names like
ns1.example-host.com), or one IP address for the domain’s A record.Log in where you manage your domain.
That’s the company you pay for the domain, which may be your old host.
Enter the new nameservers, or change the A record to the new IP address, then save.
Change the A record for
wwwtoo if it has its own.Wait for the change to reach your visitors.
Most visitors see the new site within a few hours. For some, it can take a day or two.
At your new host, turn on the free SSL certificate (HTTPS) What makes your site open with https:// and a lock in the browser. Most hosts create one for free once your domain points to them. for your domain.
Until then your browser may show a security warning.
Keep your old hosting a few more days.
For a day or two, some visitors still land there.
If you changed your hosts file, remove that line again.
How you know it worked
- Before the switch, the temporary address, or your domain on your computer, shows the new hosting.
- After the switch, your domain shows the new site without a security warning.
- Your email still arrives.
If something goes wrong
My domain shows “page not found”, an error or a security warning
Your domain still leads to the old hosting. So a file on the new hosting, like your-domain.com/reprint-web.php, can’t be opened yet. Use the temporary address or the hosts file.
My new site redirects to the old one
WordPress sends every visitor to your real domain, which still leads to the old hosting. Use the hosts file to see the new site under your real domain, or switch the domain.
My browser warns about the certificate on the new site
That’s normal before the switch. Your new host can only create the free SSL certificate once your domain points to it. You can continue to the site. The warning goes away once the certificate is on.
The IP address only shows the host’s default page
On shared hosting, many sites share one IP address, so the address alone shows the host’s default page. Use the hosts file instead.
Questions
Will visitors see a broken site while I work?
No. Until you switch the domain, they keep seeing the old site.
Do I lose orders or comments when I switch?
Anything that arrives on the old site after you copied it stays there. Switch at a quiet time, soon after the copy.
wp2wp.link walks you through the whole move and shows you which way to open your new hosting.
Start your moveFree · No account
Sources, checked 20 November 2026
Plesk: previewing websites, Hostinger: website without a domain, Bluehost: temporary URL, GoDaddy: preview your website, SiteGround: hosts file, cPanel: create a new domain.
Was this page helpful?
Thanks for letting us know.
Thanks for letting us know. What was missing or wrong? Write to benni@wp2wp.link, we read every message.