Welcome to WebmasterWorld Guest from 54.163.68.15

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Is There Any Way Round This

   
11:37 am on Oct 14, 2006 (gmt 0)

5+ Year Member



This was posted by Mack in an old post and I have been struggling to try and find a way around this problem

if you are on your network you will not usual be able to see your website without setting an entry in your pc's host file. The router is designed to handle requests from the outside. So even if you type in www.example.com the chances are it will display your routers admin area as opposed to your website. For this reason I suggest you try viewing your web pages from outside of your network to ensure it is functioning correctly.

An alternative is to connect through a proxy server to try and view your pages that way. The problem with using a proxy server is they can be very slow and as a result it will not give you a fair indication f the speed of your pages. The best thing is either do use a second home internet connection (if available) or use a friend or family's internet to make checks.

Is there no way to be able to view your own websites (hosted on your own server in a dmz) from your own pc (on the internal lan) without using a proxy?

11:58 am on Oct 19, 2006 (gmt 0)

10+ Year Member



If your using windows or linux (and possibily Mac) you can put an entry in your PC's Hosts file. This is what I have to do on my machine to be able to access my own web server via a domain name.

On windows do a file search for "HOSTS" it should be somewhere under your windows directory once you've located it open it in notepad and its just a list of IP's and Domain names. just add the LAN IP of your server to the bottom of the list followed by a couple of spaces then the domain name that you want to access it by then save and you should then be able to access it via your browsers.

12:10 pm on Oct 19, 2006 (gmt 0)

5+ Year Member



try telling us what software you are using, incomplete questions are ,,, rather difficult to answer
8:50 pm on Oct 19, 2006 (gmt 0)

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Yo!

If you want to see your own site, that is hosted on your network using the sites domain try adding the following to your Windows hosts file...

lan.ip.add.ress.of.server www.example.com

This will mean that every time you put your sites address in the browser, the browser will look for the ip, instead of the address. It will still show the domain in the address bar though.

Mack.