LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2003, 03:29 AM   #1
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
Hosting my own site


Hi there.

I have finally managed to set up my Redhat 7.3 with apache2 and php 4. It is all working as far as entering "localhost" in the browser.

I have changed the directory of my website, and directed it all correctly, so I'm getting closer.

My problem now comes with the next step. I am running my box connected to a hub, which goes to one of those broadband usb router things. What do I need to configure from this point on to be able to show my website to the world? I use easyDNS to direct to an IP, so I understand that bit, it's just actually getting the content online....

Any Ideas?
 
Old 12-19-2003, 05:01 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,104

Rep: Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059
What is a thing. It appears that you just have a USB broadband modem and not a router. Please explain your hardware connection further. I assume you can connect to the internet and EasyDNS is working correctly. Can you ping your PC using the dynamic IP address and by its host name? What kind of broadband service due you have? I assume you have already tried to access your website from the internet? Do you know if your ISP blocks webservers running on port 80 (default port)?
 
Old 12-19-2003, 05:24 AM   #3
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
Hi there, thanks for you quick response. I have a 'Speed Touch 330 USB', connected to a 'Vigor 2200USB Router for USB Modems'. I am using BTOpenworld broadband, which I believe assigns a dynamic IP address (every time the modem is switched off and on?)

I only want people to be able to see http pages, so I only think I need port 80 open (I don't use the computer for anything else).

Your help is greatly appreciated..
 
Old 12-19-2003, 11:42 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,104

Rep: Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059
Set the gateway address for the linux PC to your router's internal address.

Then make sure the router is configured to open up port 80. Check with the routers manual.
 
Old 12-22-2003, 03:21 AM   #5
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
OK, So far I have managed to:
- Set the router up, so that requests for port 80 are sent to 192.168.1.8
- Set up an account with dyndns.org to sort out the dynamic IP.
- Set up the default gateway to 192.168.1.1 (router)

I now need to set the linux box up so it's static IP address is 192.168.1.8 Ithink. How on earth do I do that?

All your help is greatly appreciated and encouraging.
 
Old 12-22-2003, 08:55 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,104

Rep: Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059Reputation: 6059
Use the netconfig command.
 
Old 12-22-2003, 09:50 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Also setup your router to issue static IP's instead of just DHCP.
 
Old 12-25-2003, 02:29 PM   #8
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
apche heheheh rulzz ;]
 
Old 12-25-2003, 05:36 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally posted by skate
apche heheheh rulzz ;]
Is there a point in your post? Post constructively or at least helpful replies to others questions or don't post at all.

If you think apache rules, well, share that in our Members Choice Awards where apache is leading all others by a landslide.

Regards.
 
Old 12-26-2003, 10:31 AM   #10
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
OK, So again I reach a point, and then get no further.

I have assigned my webserver a static IP. When I type 192.168.1.8 into any other computer on the network, it shows the correct page that I have created on the server. I have set the IP forwarding for port 80 to private port 80 on 192.168.1.8. And I have taken note of the public IP of the server from www.myip.com or likewise.

But I still cannot see the site from an external machine. Is there anyway to test this public is working from an external machine, without having an external machine (otherwise I have to wait till I get to work)...
 
Old 12-26-2003, 10:56 AM   #11
burnpile
Member
 
Registered: Dec 2003
Location: Almost Heaven, West Virginia
Distribution: Slackware
Posts: 327

Rep: Reputation: 30
I think this was said above, but worth repeating. Does your ISP block port 80 http servers?
 
Old 12-26-2003, 06:47 PM   #12
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
But I still cannot see the site from an external machine. Is there anyway to test this public is working from an external machine, without having an external machine (otherwise I have to wait till I get to work)...
I have a shell account at Freeshell that is great for anything like this. You will only be able to use the text Links browser from there, but you can tell if your site is up and available from an external PC without having an external PC.
 
Old 12-26-2003, 06:52 PM   #13
Nu-Bee
Member
 
Registered: Dec 2002
Location: USA
Distribution: Mandrake 9.2
Posts: 269

Rep: Reputation: 30
Re: Hosting my own site

Quote:
Originally posted by AdamPengelly
Hi there.

I have finally managed to set up my Redhat 7.3 with apache2 and php 4. It is all working as far as entering "localhost" in the browser.

I have changed the directory of my website, and directed it all correctly, so I'm getting closer.

My problem now comes with the next step. I am running my box connected to a hub, which goes to one of those broadband usb router things. What do I need to configure from this point on to be able to show my website to the world? I use easyDNS to direct to an IP, so I understand that bit, it's just actually getting the content online....

Any Ideas?
If you have to ask this then I promise you that you don't have enough knowledge to try this.
 
Old 12-26-2003, 07:05 PM   #14
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
If you have to ask this then I promise you that you don't have enough knowledge to try this.
Huh?
His latest post indicates he is halfway there.
 
Old 12-26-2003, 09:29 PM   #15
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Re: Re: Hosting my own site

Quote:
Originally posted by Nu-Bee
If you have to ask this then I promise you that you don't have enough knowledge to try this.
because he has to ask a question means he shouldnt be doing it.. your logic is worthless

AdamPengelly, you said you type in www."myip".com w/ myip being your domain name???

as far as i can tell... you have your router setup to foward port 80 already... and you have a dns2go account?

it may be helpful for some of us to help you.. if you post up your domain name.

thanks:trey
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp access to web site hosting dbtx Linux - Enterprise 2 05-13-2005 03:07 PM
Web site hosting Xonoss Linux - Newbie 5 02-08-2005 09:55 PM
Unix hosting Vs windows hosting the_imax Linux - Networking 2 07-24-2004 01:47 PM
Register domain name vs hosting the site J.W. General 4 06-07-2004 09:37 PM
Setting default foreign language for 1 site when virtual hosting. dsiguy Linux - General 0 05-13-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:04 AM.

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