Re: LAN to WAN access

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

 



On 27/04/2021 22:33, back Button wrote:

if I type http://localhost/ then I get  the apache2 index.html page.
This is the pre installed webserver which came ubuntu 20.


So it looks like you haven't uploaded your index.html page yet to the root folder of your server.

Now open your httpd.config file and look for:

ServerName localhost:80

Change localhost to:

http://backbtn.ddns.net

Then type your domain name in the browser.  It should load the index page or at least the default apache page.  For now at least.

Have you also got access to your router's Admin login details? Because you also need to enter the details in dynamic tab of the router to make sure inbound traffic is allowed.  If you are on SKY then you might have a problem because they don't allow inbound traffic for home users but you might have a different subscription plan so things might be different.

I am on the cheapest plan possible because all the internet work I do are from the Library (before the lockdown) or from Work.  at home I only do some development work as a hobby.











back.button@xxxxxxx


-----Original Message-----
From: Mark Brodis <mabrodis@xxxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Tue, 27 Apr 2021 22:13
Subject: Re:  Re: LAN to WAN access

There are several elements to hosting something with public access from your home, some things are tricky, some are just impossible, depending on your specific situation.

1) You need to know if your Internet access is setup such that your ISP will allow incoming connections to your address, not all do, and not all ISPs give out real public IPs to customers, if you don't have a real public IP, or if your ISP is blocking connections coming to you then that'll be the end of your attempt and it simply won't work because you're not 'on' the internet, you're using the internet for outbound things but your Internet would not be configured to allow incoming connections.

2) If you do have proper access then you can simply setup your home router to route incoming connections on a specific port (e.g. 80/443) to an IP:port address on your local network.  That would be enough to technically make it work.  What that looks like varies by each firewall/router setup but usually named IP Forwarding or such in the router's web interface.

3) If you want to access your home site via something other than the public IP address then sure you can create a public hostname mapped to your IP address, you can do it statically or with some dynamic DNS, that's all fine, but all that does is put a nice name on your IP...steps 1 & 2 above will still have to be satisfied.

-Mark

On Tue, Apr 27, 2021 at 2:59 PM Antony Stone <Antony.Stone@xxxxxxxxxxxxxxxxxxxxx <mailto:Antony.Stone@xxxxxxxxxxxxxxxxxxxxx>> wrote:

    On Tuesday 27 April 2021 at 22:53:07, 😉 Good Guy 😉 wrote:

    > On 27/04/2021 21:01, back Button wrote:
    > >
    > > Please get me to the stage when I can have the index.html page
    > > display from the internet

    > Load your index.html file to the root of the htdocs folders.

    > To test it, just type:
    >
    > localhost

    And, how does this get "the index.html page to display from the
    Internet"?

    I really think the fundamental problem here is that the public IP
    address is
    not routed through to the private address, so requests from the
    Internet never
    reach the laptop which is running the webserver.


    Antony.

-- Pavlov is in the pub enjoying a pint.
    The barman rings for last orders, and Pavlov jumps up exclaiming
    "Damn!  I
    forgot to feed the dog!"

     Please reply to the list;
           please *don't* CC me.

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
    <mailto:users-unsubscribe@xxxxxxxxxxxxxxxx>
    For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
    <mailto:users-help@xxxxxxxxxxxxxxxx>


--

With over 1.2 billion devices now running Windows 10, customer satisfaction is higher than any previous version of windows.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-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