IP Loopback Webserver Restriction Rule
Results 1 to 3 of 3

Thread: IP Loopback Webserver Restriction Rule

  1. #1
    Join Date
    Sep 2003
    Bristol, England

    IP Loopback Webserver Restriction Rule


    Has anyone else run foul of the IP loopback restriction rule that shared server hosting companies seem to have been implementing?

    I've been told by my hosting company that it's to stop programming loops from occurring, but IMHO, there are far more common ways to create coding loops etc. that could slow a server down than calling a program on another website on the same server, which then calls back to the same program on the originating website.

    It seems to me that this one rule can end up preventing a lot of quite legitimate web programming from happening, unnecessarily.

    For example, you may want to park a domain on a sub-domain, which could then call a module on the main domain to retrieve some database info for display, which you would quite legitimately need to use the main domain's full url for, instead of either a relative url or a full path url - not with this rule.

    Or you might provide a service that other websites (which could be owned by you or other people) could call from code to retrieve information to display on their pages. With the loopback rule in place, if any of the calling websites reside on the same web server as the called website, which is entirely possible with the larger hosting companies, then this won't be allowed either.

    Of course, with enough thought, work arounds can always be found, but it just seems to me that this is an unnecessary rule too far.

    Does anyone know how this rule came into being (e.g. was it a theoretical problem dreamt up by an academician or a real problem experienced by a hosting company) and why the hosting companies seem to be so fixated on it, when, IMHO, it is a rule that can cause far more problems than it solves?

    - your quick and easy, yet powerful solution for managing your
    membership site sales, downloads and affiliates.

  2. #2
    Pedantic Curmudgeon Weedpacket's Avatar
    Join Date
    Aug 2002
    General Systems Vehicle "Running Gear"
    For something on one host to make use of something on the same host by bouncing through who knows how many intermediate machines along the way, taking up runtime and bandwidth, doing DNS lookups, generating log messages, etc. etc. in the process, just sounds like bad design. It's like building a whole new car from raw materials every time you want to drive somewhere and scrapping it afterwards. IMHO, there are far more common ways to be wasteful.

    But maybe I'm misunderstanding the question (I've neither encountered nor heard of the problem): domain names and IP addresses are distinct namespaces; multiple domains can resolve to the same address (and vice versa) and it would be a pretty poor host that couldn't manage the mapping.
    Last edited by Weedpacket; 10-31-2012 at 07:39 PM.
    FAQs! FAQs! FAQs! Most forums have them!
    Search - Debugging 101 - Collected Solutions - General Guidelines - Getting help at all

  3. #3
    Settled 4 red convertible dalecosp's Avatar
    Join Date
    Jul 2002
    Accelerating Windows at 9.81 m/s....
    Is this on a shared server by any chance?
    /!!\ mysql_ is deprecated --- don't use it! Tell your hosting company you will switch if they don't upgrade! /!!!\ ereg() is deprecated --- don't use it!

    dalecosp "God doesn't play dice." --- Einstein "Perl is hardly a paragon of beautiful syntax." --- Weedpacket

    Getting Help at All --- Collected Solutions to Common Problems --- Debugging 101 --- Unanswered Posts --- OMBE: Office Machines, Business Equipment

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts