Re: Re: Help - Name Server - Maybe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Rogers wrote:
The "listen 80" is in the main config file.
The only thing that works is 10.0.0.115. I was reading your comment about DHCP and LAN. My router is set as DHCP server. I can't get what the LAN settings should be. Are familiar with the Linksys Router. If you are, then would any settings in the advanced routing tab do anything for me here? If it does then I'll attach a copy of the routing tables that are in the router for you to look at.

If your router supports it (what router do you have?) there should be a place where you can tell the router to assign a user selected ip to the same machine every time. Every machine on your network has a different (unique) MAC (Media Access Control) address. This address doesn't change unless you manually change it. Show us your full 'hosts' file and the LAN specific info from your router.

In my Netgear router it's called 'Address Reservation' under Advanced->LAN IP Setup. It is a list of ip addresses that gets assigned to the various machines on my network, looks like:

IP address    Device Name                MAC Address
192.168.1.5   LINUX-SERVER          ??:??:??:??:??:??
192.168.1.4   gfriend-desktop        ??:??:??:??:??:??
192.168.1.2   dell2350-desktop      ??:??:??:??:??:??
192.168.1.3 amd64x2 0A:1B:2C:3D:4E:5F (example - numbers/letters made up)

...of course you would see numbers/letters instead of ??. My server is 192.168.1.3 and that address gets assigned to the computer that reports itself as MAC 0A:1B:2C:3D:4E:5F. This info is setup right along with 'Use router as DHCP server?' but that is for my netgear. Now if you have this and then tell your router to port forward all HTTP traffic to 192.168.1.3 port 80 (substitute your info) you should have a setup that survives reboots.


    *From:* Norman Peelman <mailto:npeelman@xxxxxxxxxx>
    *Sent:* Wednesday, February 04, 2009 10:05 AM
    *To:* users@xxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxx>
    *Subject:* Re:  Re: Help - Name Server - Maybe

    Michael Rogers wrote:
    > My browsers just do a search of the web for michalesrogers.com
    and I
    > don't know how to shut that search feature off.
    >
    >     *From:* Norman Peelman <mailto:npeelman@xxxxxxxxxx>
    >     *Sent:* Tuesday, February 03, 2009 3:39 PM
    >     *To:* users@xxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxx>
    <mailto:users@xxxxxxxxxxxxxxxx>
    >     *Subject:* Re:  Re: Help - Name Server - Maybe
    >
    >     Michael Rogers wrote:
    >     > Norman!
    >     >
    >     > Thanks for the encouragement!  I feel like I slamming my head
    >     against
    >     > a telephone pole as I am getting nowhere.
    >     >
    >
    What does the apache config file look like? You should have:

    Listen 80

    in the main config.

    and it should answer if you type any of:

    127.0.0.1
    10.0.0.115 (current machine ip as assigned by the router)
    localhost

    ...into your browser as long as your hosts file has:

    127.0.0.1    localhost
    10.0.0.115   localhost

    127.0.0.1 is always set as the local machine (loopback)
    10.0.0.115 is assigned by your router and doesn't need to be set
    in the
    hosts file unless you configure the router to assign that ip to that
    machine all the time.


      You have been making a lot of changes lately. You might want to
    see if
    there is a computer group in your area. If so, there is bound to be
    someone that can help you. Believe it or not, once this is set up
    properly and you can see how it works it's not hard to understand.

    >     > My DSL modem that connects me to the internet has the
    static IP
    >     > address of  "66.113.46.108 michaelsrogers.com".  I know the
    >     problem is
    >     > between the DSL modem and my Apache Server.  Just where I
    don't
    >     know.
    >     >
    >     > In the host file on the machine that the Apache is on I
    made the
    >     entry
    >     > of "10.0.0.115 michaelsrogers.com".  This same machine has
    an IP
    >     > address of 10.0.0.115 and seems to be staying with it even
    though I
    >     > have rebooted several times.
    >     >
    >     On this machine, if you type in your browser:
    >
    >     michaelsrogers.com
    >
    >     it should work without even going through the router
    >
    >
    >     > In my Linksys router I have made the port forwarding
    entries to
    >     point
    >     > to "10.0.0.115 on port 80.
    >     >
    >     > When I turn off the DHCP server in my computer that has the
    >     Apache on
    >     > it, and make it a static IP address then none of my
    computers will
    >     > connect to the internet
    >     >
    >     > There is something that I missed.
    >     >
    >     > I am going to try going into TCP/IP settings in the alternate
    >     > Configuration tab in use the first three lines and see what
    >     happens.
    >     > The statement in the setting tab says "if this computer is
    used on
    >     > more then one network. enter the alternate IP settings below."
    >     >
    >     > Expect for the one guy/gal who made the inappropriate
    remark, I
    >     have
    >     > appreciated the help that everyone has given me so far.  I
    would
    >     just
    >     > ask that everyone please be patient with me, and I might just
    >     get the
    >     > problem resolved with your help!
    >     *Are you hosting www.michaelsrogers.net
    <http://www.michaelsrogers.net>
    >     <http://www.michaelsrogers.net> on your apache server or on
    >     ipower? I'm confused as to why your .net and .com addresses
    >     resolve to
    >     different ip addresses. Do you want the outside world to see
    the .com
    >     address?
    >
    >     As long as your 'server' computer keeps the same address,
    the port
    >     forwarding should work fine as long as your provider doesn't
    block
    >     port
    >     80. A big problem could be if your router won't allow you to
    'visit'
    >     your own server from inside your network. I have the same
    problem
    >     with
    >     my newest netgear router. I had to set the hosts file like you
    >     above. If
    >     you have more than one computer in your network, you need to
    >     create the
    >     same entries in their hosts files if you intend on viewing your
    >     website
    >     from them as well. If this is the case then more than likely you
    >     need to
    >     have your router set as the DHCP server (the router assigns
    >     addresses)
    >     and then in the LAN IP setup you tell it to assign the same
    >     address (you
    >     enter the address) to the same computer every time.
    >
    >     *
    >     --
    >     Norman Registered Linux user #461062 -Have you been to
    >     www.apache.org <http://www.apache.org>
    <http://www.apache.org> yet?-
    >
> ---------------------------------------------------------------------
    >     The official User-To-User support forum of the Apache HTTP
    Server
    >     Project.
    >     See <URL:http://httpd.apache.org/userslist.html
    <http://httpd.apache.org/userslist.html>
    >     <http://httpd.apache.org/userslist.html>> for more info.
    >     To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
    <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
    >     <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
    >        "   from the digest:
    users-digest-unsubscribe@xxxxxxxxxxxxxxxx
    <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
    >     <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
    >     For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
    <mailto:users-help@xxxxxxxxxxxxxxxx>
    >     <mailto:users-help@xxxxxxxxxxxxxxxx>
    >
    > Michael S. Rogers
    > (406) 967-2385
> > Web Sites: http://www.michaelsrogers.net &
    > http://www.michaelsrogers.net/trainwreck/Wreck.html


    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server
    Project.
    See <URL:http://httpd.apache.org/userslist.html
    <http://httpd.apache.org/userslist.html>> for more info.
    To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
    <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
       "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
    <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx>
    For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
    <mailto:users-help@xxxxxxxxxxxxxxxx>

Michael S. Rogers
(406) 967-2385
Web Sites: http://www.michaelsrogers.net & http://www.michaelsrogers.net/trainwreck/Wreck.html


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux