Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My router does not support loopback. In order to view a webpage on my server, I either have to type in the local ip (192.168.1.201), or be on another network. What are my options for making this easier?

Here are some possible things:

  • Route all web traffic through an external proxy (seems to be overkill)
  • Run my own DNS server (where to start?!)
  • Buy a new router that supports loopback.

Surely there is another way that I can use my laptop on the LAN and the WAN by typing in my domain more easily than these solutions.

share|improve this question
    
What oses are in play here? It would be easier to give a detailed answer with that information –  Journeyman Geek Jun 5 '12 at 4:07

2 Answers 2

How about upgrading your router's firmware to a version that supports loopback? Are you running the latest factory firmware for your router? If not, try that. If you are running the latest and it still doesn't work, see if your router is supported by a third party aftermarket (typically open source) router firmware distribution, such as DD-WRT, OpenWrt, Tomato, or many, many more.

share|improve this answer

You could simply add your domain name in your hosts file pointing at the ip of the system acting as clients. You'd need to do this per system, but its simpler than either solution you've looked at.

In windows this should be in c:\windows\system32\drivers\etc\hosts - you should open this as a root user and add xxx.xxx.xxx.xxx domain.of.site where xxx.xxx.xxx.xxx is the ip address of the system hosting the web page. You can do the same with linux or OS X by editing the /etc/host files. Howtogeek has detailed instructions, but its basically the same across OSes

You may also need to flush your DNS cache after you do this.

I also often use the tor browser bundle to check my sites, which works well in "is it just me" sort of situations

share|improve this answer
    
I thought about editing my hosts file (on my mac), to point to the local IP address, but then my domain name won't work when I'm outside the network. –  jessh Jun 5 '12 at 4:30
    
Well that would just mean editing it back, or having some small script that handles doing that. –  Journeyman Geek Jun 5 '12 at 5:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.