setting up WordPress on an IP until you transfer the domain
I needed to set up WordPress for a client. The problem was that we needed to fully develop the wordpress site prior to migration from the old site and host. With Joomla, developing in parallel is no problem. However, WordPress ties the domain into the installation.
The answer is to modify the hosts file so that the IP for the new site is pointed to your domain.
In other words, you add a line like
(where 22.214.171.124 is the Ip of your hosting. )
One of the tricks is to be able to edit the hosts file. This can take some patience as windows tries to protect it. What worked for me on a windows 7 machine was
- Make sure that your folder settings are such that you are seeing hidden and system files
- Right click on notepad and choose “Run as administrator”
- Navigate to c:windowssystem32driversetc
- Look for the hosts file and open it
- Add the line to the bottom of the file.
- Make sure that the “SAVE AS TYPE” is set to ALL DOCUMENTS
- Save the file.
I found the original idea at http://wpgarage.com/tips/install-wordpress-without-domain-name/
Note – this was for a hosting plan with a static IP. If you are on a shared IP, you will need to determine how to make that work. (It might not work as we have no means of testing that right now). If you are trying to develop on a shared IP, most hosts will upgrade you to a static IP for a few dollars a month
- Opening multiple WordPress admin window for sites on a shared host results in high CPU usage.
- WP Super Cache for WordPress was not working on a shared host.
- Using a 301 redirect to avoid search engines seeing duplicate content.
- Cheap Hosting and Identity Theft
- WordPress 5.2 update hangs on ‘Unpacking the update . . .’
- Disaster Recovery for Oscommerce Sites
- Migration from Frontpage to Expression Web on Linux/Unix servers
- Removing obsolete database tables from your Joomla site.