Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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)?
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).
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.
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)...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.