homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Is There Any Way Round This
Kia Breizzze

5+ Year Member

Msg#: 3120907 posted 11:37 am on Oct 14, 2006 (gmt 0)

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?



10+ Year Member

Msg#: 3120907 posted 11:58 am on Oct 19, 2006 (gmt 0)

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.


5+ Year Member

Msg#: 3120907 posted 12:10 pm on Oct 19, 2006 (gmt 0)

try telling us what software you are using, incomplete questions are ,,, rather difficult to answer


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

Msg#: 3120907 posted 8:50 pm on Oct 19, 2006 (gmt 0)


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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved