Results 1 to 5 of 5
  1. #1
    ABW Ambassador kse's Avatar
    Join Date
    November 29th, 2005
    Posts
    2,511
    Tip: How to view your site before changing DNS
    I figured I would share something I discovered yesterday on how to view your site before changing DNS or when propagation is complete when you moved your site to a new host.

    In the past I always used temporary url’s provided by my host to view my sites before changing my DNS just to make sure the site was working. However this did not always work some scripts and WordPress blogs, etc...

    Open your Host file with text editor (located in c:\windows\system32\drivers\etc on Win7 you may need to run as administrator)

    Add the following to the bottom of the Host file:

    YOUR-HOST-IP-Address YourSite.com

    Example:

    142.0.120.24 example.com

    Then save the changes to the Host file, close/open you browser (you may not have to do this) then visit your site example.com and you will be viewing it on the new server (I also put something in the footer to identify it on the new server just to be sure)

    IMPORTANT: Once you happy with the way the site is working on your new host just go back and edit your host file again and remove or rem out the line you added.

    Reference: How to access your web site before DNS propagation is complete
    MERCHANTS: Start showing your coupons directly on your site, that way your shoppers will stop leaving your site looking for them!! If not then remove your Coupon Box!!


  2. #2
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    Good tip. I've always done that when I've been migrating to a new server, too.
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  3. #3
    Newbie
    Join Date
    April 29th, 2014
    Posts
    2
    also remember to flush the dns by
    ipconfig /flushdns

  4. #4
    ABW Ambassador kse's Avatar
    Join Date
    November 29th, 2005
    Posts
    2,511
    No need to flush dns for this to work
    MERCHANTS: Start showing your coupons directly on your site, that way your shoppers will stop leaving your site looking for them!! If not then remove your Coupon Box!!

  5. Thanks From:

  6. #5
    Newbie
    Join Date
    May 21st, 2014
    Posts
    2
    Yep, no need to do this, but always load a fresh copy of your browser

    Also, you can add more lines to your host file (more sites)
    so it could be:

    234.234.234.234 yoursite.com
    234.234.234.234 yoursite2.com
    etc...

  7. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Get Healthy Changing 1 Habit At A Time: Tip 2
    By Amelie in forum Virtual Family and Off-Topic
    Replies: 0
    Last Post: August 2nd, 2007, 01:01 PM
  2. Get Healthy Changing 1 Habit At A Time: Tip 1
    By Amelie in forum Dieting, Fitness & Health
    Replies: 5
    Last Post: August 1st, 2007, 12:38 PM
  3. Changing Site Content For Rankings.
    By joebaracco in forum Search Engine Optimization
    Replies: 3
    Last Post: April 23rd, 2003, 02:40 PM
  4. Changing site hosts
    By sweetwillie in forum Domains & Hosting
    Replies: 14
    Last Post: April 14th, 2002, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •