Modify Hosts File – Mac OS X & Windows

When you move a website to a new server, the final switch-over happens after you change DNS (Domain Name System) records to point to the new server.  The DNS server tells the world that (for example) www.yoursite.com is now at the IP address 11.12.13.14 (your new JetRails® server) instead of 10.11.12.13, the old server.

Of course, before making the switch public, you’ll want to test the new server yourself.  You do this by editing your Hosts File, which makes the same switch, but only for your computer.  Your web browser will go to the new server when you type in www.yoursite.com until you change it back.

The instructions below walk you through making this change.  After you’re done testing your new server, you’ll want to reverse the changes to the host file. Follow the same steps, but remove the entries you previously created.

Windows 8/10:

(Instructions for Windows 7 and OSX)

 1. Note  your JetRails server’s IP address, provided by your eBoundHost account manager.

 

make a note

 

2.  Open Notepad as administrator.  

  1. Hit the Windows key
  2. Type “Notepad” in the search field
  3. Right click Notepad and select Run as administrator
  4. If prompted, click ‘Yes’ on the UAC dialog

step 1 win10

 

3. Open the Hosts file.

  1. Go to file > open
  2. Navigate to c:\windows\system32\drivers\etc
  3. If it is not visible, select “all files” instead of “text documents” in the file type drop-down menu
  4. Select and open Hosts


Editing your host file with notepad

 

4. Add the new entries

  1.  At the bottom of the document, add two new lines, following this format:
    11.12.13.14 www.yoursite.com
    11.12.13.14 yoursite.com
    Your new JetRails IP address goes first, then your domain with a leading www.
    The second line is your domain name without the www.
  2. Use a [TAB] between the IP and domain


Screenshot of notepad in Windows 10 editing Hosts file

5. Save changes

  1. Go to file > save

 

Windows 7:

 

 1. Note  your JetRails server’s IP address, provided by your eBoundHost account manager.

2. Open Notepad as administrator.  

  1. Go to Start > All Programs > Accessories
  2. Right click Notepad and select Run as administrator
  3. If prompted, click ‘Yes’ on the UAC dialog

Notepad

3. Open the Hosts file.

  1. Go to file > open
  2. Navigate to c:\windows\system32\drivers\etc
  3. If it is not visible, select “all files” instead of “text documents” in the file type drop-down menu
  4. Select and open Hosts

Screen Shot 2016-02-25 at 10.32.12 AM

4. Add the new entries

  1.  At the bottom of the document, add two new lines, following this format:
    11.12.13.14 www.yoursite.com
    11.12.13.14 yoursite.com
    Your new JetRails IP address goes first, then the domain with a leading www.
    The second line is the domain name without the www.
  2. Use a [TAB] between the IP and domain

Screen Shot 2016-02-25 at 10.32.38 AM

5. Save changes

  1. Go to file > save

 

Mac OSX 10.6+:

 

1. Open Terminal

  1. Go to Applications > Utilities > Terminal

Screen Shot 2016-02-24 at 5.13.11 PM

2. Open the Hosts file

  1. Type sudo nano /private/etc/hosts
  2. Enter your username and password when prompted

3. Edit the Hosts file

  1. At the bottom of the document, add two new lines, following this format:
    11.12.13.14 yoursite.com   www.yoursite.com
  2. Save the file by hitting Control + X and answering Y.

4. Flush DNS cache to put the changes into effect

  1. In the terminal, type dscacheutil -flushcache

That’s it!  You’re ready to start testing your new server.




Read This Next:




Over the years, I've dealt with many companies. None come close to equaling the service and price offered by eBoundHost.

Jerry Stark

I'm Stan Bogdashin, a customer of your hosting company for the past 2 years. Our company provides web design, development and Search Engine Optimization (SEO) services. Want to thank you for helping us by providing great hosting seamless support - this is why I continue to recommend you and don't use anyone else for hosting!

Stan Bogdashin

We at Alico have 4 domain names which we started subscribing at eBoundHost since more than 4 years. In brief they are the best webhosting provider with a sexy Control Panel and perfect fast response support.

Ahmed Hussein
AlicoUAE

I came to eBoundHost after a very bad experience with a so called "big boy" - you know one of those places you are only a number. I have been a satisfied customer for more than 4 years now. The support is second to none.

Gary Hutchison

Every time I call with a problem or question, Everyone, especially Denis has always stepped up to the occasion. As usual he solved yet another problem I had. You have a superlative customer service. It doesn't get any better. Keep it up guys.

Jason M

Excellent response to questions and issues. Fabulous uptimes. Personable tech support.

Lisa Cowan

From using your hosting services for dozens of web clients and appreciating your wonderful customer service (all the while enjoying spending my meaty affiliate checks), I look forward to growing with you and watching you evolve surely and steadily into a powerhouse of a force to be reckoned with for your competitors. In an overcrowded abyss of hosting providers it is an absolute MUST to stand out above the crowd if you want to claim your stake and play with the big boys. Period. All I can say is this...Look Out World - GAME ON!!!

S. Gino

eBoundHost is the best. I have dealt with many hosting providers over the last 10 years. eBoundHost surpasses them all. Absolutely the highest level of quality service anywhere. Do yourself a big favor and sign on with eBoundHost.

Dave "Infodave" Beightol

Every time I have contacted my host provider. They have responded with speed, courtesy and accuracy they are professional and a joy to work with.

P. LaGambina

eBoundHost is really the best hosting service in today's marketplace. Fast and efficient customer service with excellent IT knowledge. Good price and many bundled extra options. Highly recommended!

Goran Paunovic
Artversion Creative Agency

eBoundHost.com has been a dream to work with. My questions are answered in minutes, the price is very reasonable, the interface is great, I am very happy with how smooth everything works.

Paul

I have worked with many hosting companies over the course of my years in the website building and design business. I can say with certainty that eBoundHost.com is among the elite companies. I would and have recommended them to anyone.

Jim Nickerson

Great customer service. After looking around for a while we signed up with eBoundHost. And I can assure you that we made right decision. Customer service is so good that I don't have words to explain. I would recommend this service to everyone.

Keval

No better web host on the market! Support is second to none.

Roger Hamilton

I was just looking over our emails and adding up how much time you guys have taken to get me squared away with my new eboundhost account. I can't tell you what a relief it is to have fast, dependable hosting and the kind of immediate support I've gotten from you, after having struggled with a sub-standard host for years. eboundhost has, in the short time I've been with you, already saved me hundreds of dollars of billable time. My thanks.

Bart W

GREAT customer service and tech support, with professional, yet personable service.

J. Bitner

EXCELLENT across the board, super quick reply to questions (about 15-30min). Outstanding! Loads of features, excellent price! Loads of space and bandwidth!

Beau B.

Cost, technical support and promptness of return calls are of paramount importance to me since most of my work is done on the road and waiting for a reply is frustrating. eBoundHost has been a pleasure to work with friendly, courteous and professional.

Steve Berry

eBoundHost.com has the best customer service in ANY industry. Their support staff answers phone calls and emails immediately and they have time and time again gone over and above their responsibilities to make sure I am taken care of and that my clients are happy. I have many websites hosted here from small business to corporate level and have dealt with many hosting companies in the industry and eBoundHost.com is by far the BEST hosting provider there is. Great prices, great service, great hosting packages, and a killer reseller program! THANK YOU AGAIN :)

Shannon

Awesome Service And Excellent Customer Service!

Cory Farbman

Find the right cloud VPS Size for your website

Smaller websites with less traffic

Multiple websites or large traffic-intensive websites

 

1
CPUs
1.5
GB RAM
50
GB Storage
2
TB Transfer

$25/month

Get Started

30 day money back

 

2
CPUs
3
GB RAM
100
GB Storage
3
TB Transfer

$40/month

Get Started

30 day money back

 

4
CPUs
5
GB RAM
200
GB Storage
5
TB Transfer

$50/month

Get Started

30 day money back

 

6
CPUs
7
GB RAM
450
GB Storage
7
TB Transfer

$65/month

Get Started

30 day money back

 

8
CPUs
9
GB RAM
600
GB Storage
10
TB Transfer

$99/month

Get Started

30 day money back

 

10
CPUs
10
GB RAM
1000
GB Storage
12
TB Transfer

$125/month

Get Started

30 day money back