Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) viewing a new web server before making it live

  • viewing a new web server before making it live

    Posted by James Iles on September 2, 2009 at 2:44 pm

    Hi,

    I am trying to remember a very clever thing a web developer friend once showed me, but I just can’t remember or find any clues to it on the web.

    It involved editing a system file using notepad so that I could over ride the ip and server settings to visit a server that was not listed as the whois lookup.

    What I am trying to do is illustrated in this example (I am trying to be as clear as possible) E.g. :

    domain name https://www.example.com is currently on server abc1.europe.com

    I want my computer to access the domain name as https://www.example.com on server abc1.newserver.com

    In the text editor I had to type something like

    https://www.example.com abc1.newserver.com

    This is so that the web browser reads this system file and knows that for this particular domain name it should be redirected. I think there may have even been the ip of the server included too.

    What this allows is for me to look at the new website whilst the rest of the world looks at the old until the change is made official.

    If anyone can help I will be most grateful.

    Thank you.

    James

    James Iles replied 16 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Abraham Chaffin

    September 2, 2009 at 2:47 pm

    I know on Windows XP it’s here:
    C:\WINDOWS\system32\drivers\etc\hosts

    Abraham

  • James Iles

    September 3, 2009 at 12:54 am

    Thank you Abraham, it feels so good to be able to set this up again! I forgot to mention I was in Windows.

    As a reference to anyone else, if you’re in Vista you’ll have to open Notepad with administrator privileges to save the changes to the hosts file.

    Find Notepad on your start menu and right click it, on the menu that appears choose “Run as administrator”. Then open the file through the file menu and open file dialog box.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy