My Site Has Been Migrated to ByteHouse. How Do I Test Functionality Before Re-pointing DNS?


If you've moved a website to ByteHouse from your previous host, you want to test it to see if it works before making the switchover.

Your Plesk control panel offers a "site preview" link which will allow you to test the majority of websites, however, for some sites built in Wordpress, Joomla, Magento etc "site preview" may not be a suitable tool.

To test fully, ByteHouse recommends editing your local host's file on your workstation. To do this follow these instructions;

On a Windows PC;

 

1. Click START>>ALL PROGRAMS>>ACCESSORIES>>

2. Right click mouse on “NotePad”

3. Click “run as administrator”

4. Empty notepad will open.

5.Click FILE>>OPEN

6. Browse to and open the file called HOSTS, located here ; c:\windows\system32\drivers\etc

With the file open, it will display something like this;

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost


After the last line in the file add the following 2 lines for each domain you are testing and save the file. Replace the bytehouse domain and the IP address with the domain name you want to test and the IP address of the new server;

93.91.23.77   bytehouse.co.uk
93.91.23.77   www.bytehouse.co.uk

If the file saves successfully, you will now have told your PC that the website is running on the new server. Just open a fresh browser and visit the domain name you entered in the file. When testing has completed, remember to remove the changes you made to the hosts file.

 

Last update:
2016-04-22 14:37
Author:
Martin Cole
Revision:
1.3
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

top