Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #12169 > unrolled thread

Exposing my home website to the internet.

Started by"john@wexfordpress.com" <john@wexfordpress.com>
First post2014-09-27 12:41 -0700
Last post2014-09-28 23:22 -0700
Articles 14 — 9 participants

Back to article view | Back to comp.os.linux.misc


Contents

  Exposing my home website to the internet. "john@wexfordpress.com" <john@wexfordpress.com> - 2014-09-27 12:41 -0700
    Re: Exposing my home website to the internet. Andreas Kohlbach <sep14.5.ankman@spamgourmet.com> - 2014-09-27 15:49 -0400
    Re: Exposing my home website to the internet. William Unruh <unruh@invalid.ca> - 2014-09-27 20:47 +0000
    Re: Exposing my home website to the internet. parspes <parspes@gmail.com> - 2014-09-27 16:34 -0500
    Re: Exposing my home website to the internet. Jean-David Beyer <jeandavid8@verizon.net> - 2014-09-27 17:38 -0400
      Re: Exposing my home website to the internet. The Natural Philosopher <tnp@invalid.invalid> - 2014-09-28 19:20 +0100
        Re: Exposing my home website to the internet. Tim Watts <tw_usenet@dionic.net> - 2014-09-28 22:54 +0100
          Re: Exposing my home website to the internet. Jean-David Beyer <jeandavid8@verizon.net> - 2014-09-29 17:45 -0400
    Re: Exposing my home website to the internet. Axel Bergerhoff <axel@da.heim> - 2014-09-28 01:53 +0200
    Re: Exposing my home website to the internet. Tim Watts <tw_usenet@dionic.net> - 2014-09-28 09:39 +0100
      Re: Exposing my home website to the internet. The Natural Philosopher <tnp@invalid.invalid> - 2014-09-28 19:22 +0100
        Re: Exposing my home website to the internet. Tim Watts <tw_usenet@dionic.net> - 2014-09-28 22:54 +0100
          Re: Exposing my home website to the internet. The Natural Philosopher <tnp@invalid.invalid> - 2014-09-29 11:49 +0100
    Re: Exposing my home website to the internet. James Moe <jimoeDESPAM@sohnen-moe.com> - 2014-09-28 23:22 -0700

#12169 — Exposing my home website to the internet.

From"john@wexfordpress.com" <john@wexfordpress.com>
Date2014-09-27 12:41 -0700
SubjectExposing my home website to the internet.
Message-ID<42feed1a-0304-4f04-a363-24de4f11dc76@googlegroups.com>
I want the capability to mount web pages on my own web server (Slackware and Apache) and expose these pages to the internet. My local computer has a fixed url address in the 192.168.etc series which does not change.This allows me to access my router. My router in turn connects to my internet modem which works with my internet provider,in my case comcast.net. This latter connection is DHCP I am pretty sure.

The first question is, how do I sniff out this last internet address? I presume it stays constant until I have a power failure or other interruption, in which case I would have to sniff it out again.

The second question is, given knowledge of this internet address, how do I give the outside world access to it?

If necessary I can dedicate a spare computer to this function by connecting it to my router. I have a port available. This would protect may main machine from crashing due to overload.

All answers appreciated.

John C.

[toc] | [next] | [standalone]


#12170

FromAndreas Kohlbach <sep14.5.ankman@spamgourmet.com>
Date2014-09-27 15:49 -0400
Message-ID<87a95k7siq.fsf@usenet.ankman.de>
In reply to#12169
john@wexfordpress.com wrote on 27. September 2014:
>
> I want the capability to mount web pages on my own web server
> (Slackware and Apache) and expose these pages to the internet. My local
> computer has a fixed url address in the 192.168.etc series which does
> not change.This allows me to access my router. My router in turn
> connects to my internet modem which works with my internet provider,in
> my case comcast.net. This latter connection is DHCP I am pretty sure.
>
> The first question is, how do I sniff out this last internet address? I
> presume it stays constant until I have a power failure or other
> interruption, in which case I would have to sniff it out again.

Go to http://www.showmyip.com/ for example. It should show your "last"
(real) IP address.

> The second question is, given knowledge of this internet address, how
> do I give the outside world access to it?

Unless the IP the URL above shows you isn't really fixed (a power outage
might already prevent this and your ISP assigns you a different IP when
you log back in) you could sign up for a service assigning an address to
your IP <http://en.wikipedia.org/wiki/Dynamic_DNS>.

Since you have a router you can often let it do this job. Check its
settings for "Dynamic DNS" or similar. Otherwise you need a
program/script for your computer doing this. I use ddclient for this,
which is supposed to work with any services.

You also need to forward your server port(s) (usually 80 and may be 443)
in your router.
-- 
Andreas

I wish my grass was emo. Then it would cut itself.

[toc] | [prev] | [next] | [standalone]


#12171

FromWilliam Unruh <unruh@invalid.ca>
Date2014-09-27 20:47 +0000
Message-ID<m077ol$hgp$1@dont-email.me>
In reply to#12169
On 2014-09-27, john@wexfordpress.com <john@wexfordpress.com> wrote:
> I want the capability to mount web pages on my own web server (Slackware and Apache) and expose these pages to the internet. My local computer has a fixed url address in the 192.168.etc series which does not change.This allows me to access my router. My router in turn connects to my internet modem which works with my internet provider,in my case comcast.net. This latter connection is DHCP I am pretty sure.
>
> The first question is, how do I sniff out this last internet address? I presume it stays constant until I have a power failure or other interruption, in which case I would have to sniff it out again.

Nope not necessarily. My cable modem addresses changes even though
my system is typically up for years. 

You could have your machine go to an outside machine and read the IP
from there.


>
> The second question is, given knowledge of this internet address, how do I give the outside world access to it?

Probably by port forwarding.

>
> If necessary I can dedicate a spare computer to this function by connecting it to my router. I have a port available. This would protect may main machine from crashing due to overload.

Do you really expect that much traffic?

>
> All answers appreciated.
>
> John C.

[toc] | [prev] | [next] | [standalone]


#12172

Fromparspes <parspes@gmail.com>
Date2014-09-27 16:34 -0500
Message-ID<m07agv$vj3$3@speranza.aioe.org>
In reply to#12169
  You probably really don't want to but it seems like an interesting 
idea. I'd suggest finding free web hosting somewhere 
http://www.freewebspace.net/ or an inexpensive pay-for host and spare 
yourself some headaches.

[toc] | [prev] | [next] | [standalone]


#12173

FromJean-David Beyer <jeandavid8@verizon.net>
Date2014-09-27 17:38 -0400
Message-ID<m07aog0263q@news4.newsguy.com>
In reply to#12169
On 09/27/2014 03:41 PM, john@wexfordpress.com wrote:
> I want the capability to mount web pages on my own web server
> (Slackware and Apache) and expose these pages to the internet. My
> local computer has a fixed url address in the 192.168.etc series
> which does not change.This allows me to access my router. My router
> in turn connects to my internet modem which works with my internet
> provider,in my case comcast.net. This latter connection is DHCP I am
> pretty sure.
> 
> The first question is, how do I sniff out this last internet address?
> I presume it stays constant until I have a power failure or other
> interruption, in which case I would have to sniff it out again.
> 
> The second question is, given knowledge of this internet address, how
> do I give the outside world access to it?
> 
> If necessary I can dedicate a spare computer to this function by
> connecting it to my router. I have a port available. This would
> protect may main machine from crashing due to overload.
> 
> All answers appreciated.
> 
> John C.

My ISP will not allow me to run a server on my machine(s) unless I tell
them and pay an additional monthly fee of $100. This includes a static
IP address, so I do not need to fumble around looking for it.

Verizon.

-- 
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key:166D840A 0C610C8B Registered Machine  1935521.
 /( )\ Shrewsbury, New Jersey    http://linuxcounter.net
 ^^-^^ 17:35:01 up 7 days, 3:27, 2 users, load average: 4.13, 4.12, 4.09

[toc] | [prev] | [next] | [standalone]


#12176

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2014-09-28 19:20 +0100
Message-ID<m09jin$kvr$2@news.albasani.net>
In reply to#12173
On 27/09/14 22:38, Jean-David Beyer wrote:
> On 09/27/2014 03:41 PM, john@wexfordpress.com wrote:
>> I want the capability to mount web pages on my own web server
>> (Slackware and Apache) and expose these pages to the internet. My
>> local computer has a fixed url address in the 192.168.etc series
>> which does not change.This allows me to access my router. My router
>> in turn connects to my internet modem which works with my internet
>> provider,in my case comcast.net. This latter connection is DHCP I am
>> pretty sure.
>>
>> The first question is, how do I sniff out this last internet address?
>> I presume it stays constant until I have a power failure or other
>> interruption, in which case I would have to sniff it out again.
>>
>> The second question is, given knowledge of this internet address, how
>> do I give the outside world access to it?
>>
>> If necessary I can dedicate a spare computer to this function by
>> connecting it to my router. I have a port available. This would
>> protect may main machine from crashing due to overload.
>>
>> All answers appreciated.
>>
>> John C.
>
> My ISP will not allow me to run a server on my machine(s) unless I tell
> them and pay an additional monthly fee of $100. This includes a static
> IP address, so I do not need to fumble around looking for it.
>
For $100 aq month you can rent a dedicated virtual server omn a IP 
backbone that will be infinitely better than a home one

I think THEY start at about $10 a month

> Verizon.
>


-- 
Everything you read in newspapers is absolutely true, except for the 
rare story of which you happen to have first-hand knowledge. – Erwin Knoll

[toc] | [prev] | [next] | [standalone]


#12178

FromTim Watts <tw_usenet@dionic.net>
Date2014-09-28 22:54 +0100
Message-ID<skcmfb-08o.ln1@squidward.local.dionic.net>
In reply to#12176
On 28/09/14 19:20, The Natural Philosopher wrote:
> On 27/09/14 22:38, Jean-David Beyer wrote:


>> My ISP will not allow me to run a server on my machine(s) unless I tell
>> them and pay an additional monthly fee of $100. This includes a static
>> IP address, so I do not need to fumble around looking for it.

Sounds like a bunch of cowboys. Are you tied to them or do you have any 
choice?

> For $100 aq month you can rent a dedicated virtual server omn a IP
> backbone that will be infinitely better than a home one
>
> I think THEY start at about $10 a month
>

Yep:

https://www.linode.com/pricing

And that's a pretty decent virtual machine too...


[toc] | [prev] | [next] | [standalone]


#12191

FromJean-David Beyer <jeandavid8@verizon.net>
Date2014-09-29 17:45 -0400
Message-ID<m0cjsu027f@news6.newsguy.com>
In reply to#12178
On 09/28/2014 05:54 PM, Tim Watts wrote:
> On 28/09/14 19:20, The Natural Philosopher wrote:
>> On 27/09/14 22:38, Jean-David Beyer wrote:
> 
> 
>>> My ISP will not allow me to run a server on my machine(s) unless I tell
>>> them and pay an additional monthly fee of $100. This includes a static
>>> IP address, so I do not need to fumble around looking for it.
> 
> Sounds like a bunch of cowboys. Are you tied to them or do you have any
> choice?

Bunch of cowboys? I do not think so. I do not think they employ any
people at all. This is Verizon and the service is FiOS for both
telephone and Internet (and it would be television too if I had a TV
set). But there is no copper to the house, and the only alternative is
ComCast, the only service worse than Verizon.
> 
>> For $100 aq month you can rent a dedicated virtual server omn a IP
>> backbone that will be infinitely better than a home one
>>
>> I think THEY start at about $10 a month
>>

My old ISP (that was dial-up or ISDN only) let me run all the servers I
wanted, and free static IP address too. But I had had it for dial-up and
FiOS just came available around here (about 10 years ago).


-- 
  .~.  Jean-David Beyer          Registered Linux User 85642.
  /V\  PGP-Key:166D840A 0C610C8B Registered Machine  1935521.
 /( )\ Shrewsbury, New Jersey    http://linuxcounter.net
 ^^-^^ 17:40:01 up 9 days, 3:32, 2 users, load average: 4.45, 4.29, 4.24

[toc] | [prev] | [next] | [standalone]


#12174

FromAxel Bergerhoff <axel@da.heim>
Date2014-09-28 01:53 +0200
Message-ID<m07imk$1f6$1@online.de>
In reply to#12169
john@wexfordpress.com wrote:

> I want the capability to mount web pages on my own web server (Slackware
> and Apache) and expose these pages to the internet. My local computer has
> a fixed url address in the 192.168.etc series which does not change.This
> allows me to access my router. My router in turn connects to my internet
> modem which works with my internet provider,in my case comcast.net. This
> latter connection is DHCP I am pretty sure.
> 
> The first question is, how do I sniff out this last internet address? I
> presume it stays constant until I have a power failure or other
> interruption, in which case I would have to sniff it out again.
> 
> The second question is, given knowledge of this internet address, how do I
> give the outside world access to it?
> 

A service like dynDNS would be helpful. There are several providers:
http://dnslookup.me/dynamic-dns/

Axel

[toc] | [prev] | [next] | [standalone]


#12175

FromTim Watts <tw_usenet@dionic.net>
Date2014-09-28 09:39 +0100
Message-ID<e2ukfb-umc.ln1@squidward.local.dionic.net>
In reply to#12169
On 27/09/14 20:41, john@wexfordpress.com wrote:
> I want the capability to mount web pages on my own web server
> (Slackware and Apache) and expose these pages to the internet. My
> local computer has a fixed url address in the 192.168.etc series
> which does not change.This allows me to access my router. My router
> in turn connects to my internet modem which works with my internet
> provider,in my case comcast.net. This latter connection is DHCP I am
> pretty sure.

 > The first question is, how do I sniff out this last internet address?
 > I presume it stays constant until I have a power failure or other
 > interruption, in which case I would have to sniff it out again.


>
> The second question is, given knowledge of this internet address, how
> do I give the outside world access to it?

http://www.noip.com/free

is your friend (and there are many like that - google "Dynamic DNS")

Basically you put a client on your machine that pokes the remote DNS 
server to update a fixed name to your changed public side IP.

> If necessary I can dedicate a spare computer to this function by
> connecting it to my router. I have a port available. This would
> protect may main machine from crashing due to overload.

In either case, you'll need to have a router that you can either do port 
forwarding or DMZ (full IP forwarding) to send new incoming packets 
(where not already part of another connection) to your internal machine 
of choice, which will run your web server.



Another option if you are serious about this is to get a static IP 
allocated to you. Don't know anything about your ISP, but mine (small 
but high quality English one) just gave me 2 /27 blocks (2 x 30 usable 
public IPs). My ISP is not cheap, but they are not that expensive 
either, considering I have a monthly limit of 200GB.


A third option if you are *really* serious is to run a hosted virtual 
machine. I use linode.com for my mail server - they are linux 
specialists and not expensive and you get a wide choice of options and 
datacentre locations.

Cheers

Tim


[toc] | [prev] | [next] | [standalone]


#12177

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2014-09-28 19:22 +0100
Message-ID<m09jlk$kvr$3@news.albasani.net>
In reply to#12175
On 28/09/14 09:39, Tim Watts wrote:
> A third option if you are *really* serious is to run a hosted virtual
> machine. I use linode.com for my mail server - they are lin

This has become far and away the best option with a minimal machine cost 
<4$200 a year.

And its surprising what you can do in 256 or 384Mbyte of RAM



-- 
Everything you read in newspapers is absolutely true, except for the 
rare story of which you happen to have first-hand knowledge. – Erwin Knoll

[toc] | [prev] | [next] | [standalone]


#12179

FromTim Watts <tw_usenet@dionic.net>
Date2014-09-28 22:54 +0100
Message-ID<6mcmfb-08o.ln1@squidward.local.dionic.net>
In reply to#12177
On 28/09/14 19:22, The Natural Philosopher wrote:
> On 28/09/14 09:39, Tim Watts wrote:
>> A third option if you are *really* serious is to run a hosted virtual
>> machine. I use linode.com for my mail server - they are lin
>
> This has become far and away the best option with a minimal machine cost
> <4$200 a year.
>
> And its surprising what you can do in 256 or 384Mbyte of RAM
>

1GB RAM and 24GB of SSD storage now :)

[toc] | [prev] | [next] | [standalone]


#12188

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2014-09-29 11:49 +0100
Message-ID<m0bdgn$qm8$2@news.albasani.net>
In reply to#12179
On 28/09/14 22:54, Tim Watts wrote:
> On 28/09/14 19:22, The Natural Philosopher wrote:
>> On 28/09/14 09:39, Tim Watts wrote:
>>> A third option if you are *really* serious is to run a hosted virtual
>>> machine. I use linode.com for my mail server - they are lin
>>
>> This has become far and away the best option with a minimal machine cost
>> <4$200 a year.
>>
>> And its surprising what you can do in 256 or 384Mbyte of RAM
>>
>
> 1GB RAM and 24GB of SSD storage now :)
>
sigh. Time to move gridwatch?


-- 
Everything you read in newspapers is absolutely true, except for the 
rare story of which you happen to have first-hand knowledge. – Erwin Knoll

[toc] | [prev] | [next] | [standalone]


#12184

FromJames Moe <jimoeDESPAM@sohnen-moe.com>
Date2014-09-28 23:22 -0700
Message-ID<yeWdnTPbvaILZ7XJnZ2dnUU7-K2dnZ2d@giganews.com>
In reply to#12169
On 09/27/2014 12:41 PM, john@wexfordpress.com wrote:
> I want the capability to mount web pages on my own web server (Slackware and Apache) and expose these pages to the internet.
>
Unless you are running a business this may not be a great idea.

What are the bandwidth capabilities of your Internet service? Especially
consider the upload value since that now becomes significant.

Does your ISP charge on usage? Opening up to the Internet will greatly
increase the bandwidth usage of your service (search engines, spiders,
creepy-crawlies, spammers, etc.

What about power usage and stability?

-- 
James Moe
jmm-list at sohnen-moe dot com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web