Web Design. Web Development. Web Hosting.
0 items

How To Modify Your HOSTS File

Need some help? We are here for you!

We have a very friendly service - Come and chat to us and let us know what you need, we work for an hourly fee and can also provide you a no obligation quote and begin work immediately in most cases. Click "Request Support" or use our Live Chat.

Request support

Modifying your HOSTS file is very useful when you want to override the DNS for a domain on a particular machine, allowing you to test your site before you change the real DNS settings on your domain – equally this is useful if you are waiting for DNS propagation and would like to access the site on your new hosting provider before propagation has occured.

 

Find your web host IP on WebDesires

If you are hosting with WebDesires you can follow the steps below to discover the correct IP for your hosting account, if not please skip this step.

You will need to know a few things before you get started, firstly find out what the IP for your new hosting service will be:

  1. login to our portal (portal.webdesires.co.uk).
  2. Under “Services” click on “All Services”:
  3. On the “service” page click on the detailed link button:
    portal - service page
  4. On the “service details page” you will find your hosting account IP address:

 

Modifying your HOSTS to point a domain to an IP

Once you have the IP address follow the steps below to modify your HOSTS file under Windows.

  1. Open “File Explorer” or click “Start” and type:
    C:\Windows\System32\drivers\etc
  2. Right-click on the “hosts” file and click “properties”:
    Right-click Properties
  3. In the “Properties” dialog click on “Security” and click “Edit”  – for each”Group / Username” you need to make sure “Full control” is ticked:
    Edit hosts file permissions
  4. Click “ok” making sure all settings saved, you may need to enter you administrator password.
  5. Now Right-click “hosts” and select “Open With…”, find notepad and click ok.
  6. You now need to add the following line to the very bottom of your hosts file, make sure you replace 184.34.1.1 with the IP address above and mydomain.com with the full domain name you wish to “re-route”.
    windows hosts file
  7. Save the file and exit, load the url in your browser and it will now point to your new hosting provider!

Simple :)

0 0 votes
Article Rating
Need some help? We are here for you!

We have a very friendly service - Come and chat to us and let us know what you need, we work for an hourly fee and can also provide you a no obligation quote and begin work immediately in most cases. Click "Request Support" or use our Live Chat.

Request support
Author: Dean WilliamsProfessional PHP Web Developer with expertise in OpenCart Web Development, WordPress Web Development, Bespoke Systems - also a seasoned Linux Server Administrator.


Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments


Share this page..

Let's begin your journey...

Get in touch us now to begin your journey to having a beautifully crafted mobile responsive website. If you're still unsure what we could do for you then take a look at our why us page which includes reviews, or take a look at our portfolio.

We can work on improving existing websites or craft a new stylish website making your business stand out.

You could always catch us by email, telephone, Skype or live chat to us below.


    0
    Would love your thoughts, please comment.x
    ()
    x