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.

Most popular FAQs RSS

  1. I require an additional IPv4 address. What is Bytehouse's ... (88129 views)
  2. The Most Common Problems When Migrating Websites (66810 views)
  3. How do I create a 301 redirect? (55211 views)
  4. Can I Backup Exchange 2010 with My Online Backup ... (53351 views)
  5. Steps to Add Administrator User for Windows Server (48887 views)

Latest FAQs RSS

  1. Steps to set/customize log rotation from plesk (2016-07-25 07:15)
  2. Generate a self-signed SSL certificate - Nginx,CentOS (2016-07-07 02:31)
  3. Procedure re-register Volume Shadow Copy Service(VSS) in a Windows ... (2016-07-05 04:18)
  4. Steps to Install Mcrypt in Plesk (2016-07-01 17:11)
  5. How to Retrieve a Plesk Password in Linux and ... (2016-07-01 17:09)

Regular new KB articles

Check back from time to time for new articles, or if you have any suggestions please feel free to recommend

top