LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-22-2005, 10:40 AM   #16
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15

Thanks, but i already forward 80 to my host, and my main question is, can i NOT get a domain name and just have people connect through IP? This is really just a fun little project of mine, i already have a real website with real hosting.
 
Old 07-22-2005, 10:57 AM   #17
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Yes, you can have people just connect by IP, as long as you only intend to have 1 site. You would just send them to http://12.34.56.78 and notify them every time your address changes. Not an appealing option, unless you have good luck with keeping a constant address.

Peace,
JimBass
 
Old 07-22-2005, 11:02 AM   #18
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Well i guess i could get a .tk domain name and just change the hosting to an ip and change that all the time.

But people are saying error connecting to server and stuff.
 
Old 07-22-2005, 11:21 AM   #19
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You can, but you don't NEED to. Check out http://216.239.57.99

Peace,
JimBass
 
Old 07-22-2005, 11:48 AM   #20
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Yeah thats what i thought, but my ip changes sorta frequently.

Im still having trouble connecting from outside.

Last edited by IanThePetRock; 07-22-2005 at 11:49 AM.
 
Old 07-25-2005, 12:37 AM   #21
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Does it make a difference that i can type 68.67.217.22:80 in my browser in the lan and reach the server?

Everyone else is saying it times out.

(someone go ahead and try connecting)
 
Old 07-25-2005, 03:15 AM   #22
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Cannot connect and cannot ping this address which indicates the address is closed. Firewall perhaps?
 
Old 07-25-2005, 02:35 PM   #23
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Does a firewall ship with red hat 9? Is there a firewall in just the modem?
 
Old 07-25-2005, 03:00 PM   #24
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Most modem/routers have a firewall and in order to host a site you need to allow requests through port 80 and you also need to tell the router to forward requests to the hosting server.
 
Old 07-25-2005, 03:47 PM   #25
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
I keep saying i have already done that! So, i have no idea..stil why its not working from outside. WHat would i need to do to themodem and how...
 
Old 07-25-2005, 04:20 PM   #26
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Is it a modem or a router? If the former it should be working.

If you have a router you need to go to the configuration page and forward port 80 from the WAN side to the IP address of your server, port 80. Your server also needs to have a static IP if it does already nevermind, if it doesn't you can configure the router to assign the same IP to your server all the time, or configure your server to have a static IP, if your going to do the second then give it an IP with the subnet mask but outside of the dhcp pool that the router uses for assigning IPs to computers.

EDIT: PS; what have you already done, set up the firewall on the server or configured your router?

Last edited by phil.d.g; 07-25-2005 at 04:21 PM.
 
Old 07-25-2005, 05:29 PM   #27
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
OK. I have a modem and a router. I already forward 80 to the host machine with a static lan ip. I am not aware of any firewalls anywhere unless the MODEM has one. If it does can i disable it. I know the risks yeah yeah...or just tell the modem to allow port 80 to go to the router? Should i need to do that.


PS!!!! on windows i run a game server and people connect and play all the time.
 
Old 07-26-2005, 01:26 AM   #28
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by IanThePetRock
OK. I have a modem and a router.
Most adsl modems are modem/routers. i.e. does it have a an ethernet connection? An additional router may not be necessary. But if you have a router and modem router then both routers will have to forward requests.
 
Old 07-26-2005, 03:03 AM   #29
IanThePetRock
LQ Newbie
 
Registered: Jul 2005
Distribution: Red Hat 9
Posts: 23

Original Poster
Rep: Reputation: 15
Well its just an ethernet cable modem.

also, someone go ahead and try now, i downloaded this thing a while ago called Easyphp so i could test my php locally, it has an apche server, this is on windows, i forwarded 80 to the windows computer and it works for me.

http://68.67.217.22

if it works for you, then i got some ideas
 
Old 07-26-2005, 03:17 AM   #30
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
Its not working.

Maybe your ISP has blocked access to port 80, some will do that if they don't want you running a website. Try making forwarding say port 54321 from your router to port 80 of your server, then you can try accessing your website like this: http://123.123.123.123:54321

Read the terms of your ISP's service agreement, it may be against their policy for you to run a wesbite of any sort
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Webalizer Stats Public PensJunkie Linux - Software 2 06-07-2005 10:40 AM
Legal Question: Can a public library 'borrow' the design of the FC website? AlexV General 3 02-21-2005 01:13 AM
Making a public samba share joncolby Linux - Software 0 06-24-2004 01:02 PM
Steps to making public webserver (need advice) Gates1026 Linux - Networking 1 04-01-2004 01:18 PM
Making zip drive public phatboyz Linux - Hardware 3 03-02-2004 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration