How to change my windows hosts file (3 posts)

  1. Hans C
    Posted 5 years ago #

    I cannot connect to my homepage through the internal lan. From outside it is working like it should. So i have to change my hosts file, wich should be pretty straightforward, but I cannot seem to get it right.

    Internal, my wordpresssite is at
    External it is at http://84.245.xx.xx:85/wordpress

    I added the following line to my hosts file: 84.245.xx.xx

    But i still cant reach it. Anyone?

  2. Les Bessant
    keeper of the Tiggers
    Posted 5 years ago #

    I don't think you can do that with a HOSTS file. HOSTS is intended to convert names to IP addresses, not a private IP address to a public address.

    Have you considered registering a domain name for your site? A free subdomain from a service like DynDNS would do the job. You could then use the domain name externally, and get your HOSTS entry to look like this: yoursite.domain.com

  3. Hans C
    Posted 5 years ago #

    I have considered that, but I like to be independent of companies etc. It surely must be possible to work on a site from within your own LAN?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.