diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


WordPress Installation Without a Domain Name

WPGarage has a neat tip that explains how to install WordPress without using a domain name. As, you know, WordPress cann’t be installed on a server that doesn’t have a domain name pointed at it. So here’s how you can fake this by making your computer think that the new site installation should be displayed as http://www.xyz.

The trick best suite the case, where you’re installing a new WordPress site, but at the same time the old site needs to stay up until the very last minute, where a simple DNS change will switch to the new site.

The trick can perform on Windows, Linux/Unix and Mac OSX.

  1. Install WordPress on the new server via Fantastico, Quick Install, or something like that.
  2. Find the following file in Windows: ?C:\Windows\System32\drivers\etc\hosts. Open hosts in Notepad or another text editor.
  3. Add the following line to the end of the file:

    123.45.678.90 mysite.com

    Where 123.45.678.90 is the IP address of the new server, and mysite.com is the domain name that powers the existing site.

  4. Save the file. Now visit mysite.com in your browser, and you’ll see your new WordPress installation.
  5. That’s it!


Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...