Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts

    Block direct access to server if using IP instead of DNS to connect?

    I'm trying to locate the direct IP of a website I have hosted on freehostia. Why? Just because I like to be "insured" incase there is a DNS error at some point and I don't want to lose access. Is it a neurotic waste of time? Maybe, but it's my choice!

    The page uses a subdomain, which I understand can be accessed with an IP address in this fashion:

    Standard URL:
    http://subdomain.domain.com/

    Direct IP Address:
    http://01.02.03.04/subdomain/

    Do I have this part wrong?

    Anyway, I have used the IP address that is listed in freehostia subdomain manager section which is the same as the IP address that I pull up with an IP search on the URL (66.40.52.146) but so far no luck. Likewise, a hostname search performed on this IP addresses turns up no response from the server.

    Even the IP address for base freehostia home page (66.40.52.145) won't bring up the home page for that site. Instead it brings up a blank white page that just says they're under construction. When you go for the actual URL (and connect through a DNS server, I suppose) everything comes up as expected.

    All-in-all my question is this: Is it possible for them to configure their servers in such a way that users can ONLY access them when routed from a DNS server as opposed to trying to reach them directly via IP address? If not, what am I doing wrong here? Do I have any options or am I out of luck?

    My Google-fu is not turning up any productive leads...
    Last edited by Rowsdower!; 03-27-2009 at 05:45 PM.
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by Rowsdower! View Post
    All-in-all my question is this: Is it possible for them to configure their servers in such a way that users can ONLY access them when routed from a DNS server as opposed to trying to reach them directly via IP address? If not, what am I doing wrong here? Do I have any options or am I out of luck?
    Yes that is possible and happens frequently with virtual hosting. If there are multiple websites being hosted on one IP address on the same port, it uses the DNS name to differentiate which website to serve.
    OracleGuy

  • #3
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,300
    Thanks
    4
    Thanked 203 Times in 200 Posts
    Getting to a site via an IP address instead of a name is usually an exception rather than a rule. You really don't have any options.
    Dave .... HostMonster for all of your hosting needs

  • #4
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    OK, that's what I was afraid of. Thanks, guys!
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Posting Permissions

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