Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-31-2006, 12:45 PM
|
#1
|
Member
Registered: Aug 2006
Location: minneapolis
Distribution: Fedora
Posts: 32
Rep:
|
making apache site public
New to linux and liking it a lot. I want to make a test web site visible to the outside world -- how is it done?
Here's the details
I have a static IP (let's say 1.2.3.4) and it is assigned to my gateway, giving me an always-on connection for the Internet. I have registered the static IP at the Qwest web site with my site's name (widgets123.com)
What now? I have looked for tutorials, found none. How do I start serving up pages to the outside world?
thanks
|
|
|
08-31-2006, 12:59 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
right, so that's the other part of the question. if apache is already running and you can see it locally, then you just need to do some port forwarding. ipcop handles this very well but if you are just using a hardware adsl modem, check out portforward.com for very specific guides on this.
|
|
|
08-31-2006, 01:57 PM
|
#3
|
Member
Registered: Aug 2006
Location: minneapolis
Distribution: Fedora
Posts: 32
Original Poster
Rep:
|
How do I know if I can see it locally? http: //localhost/ in a browser?
Don't I need to change a hosts file or something?
|
|
|
08-31-2006, 02:56 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
no i just mean go to http://192.168.0.5 or something from a locally connected machine.
|
|
|
08-31-2006, 03:53 PM
|
#5
|
LQ Newbie
Registered: Apr 2006
Location: Dark Side of Linux
Distribution: Gentoo AMD64
Posts: 6
Rep:
|
I've assume that you had already registered your domain name in any domain server.
You should configure your httpd.conf file (in /etc/apache/ dir) for enable Apache to accept http request and forward port 80 in your firewall to accept connections.
First setup the ServerName parameter with the name of your domain.
Then give the folder in wich you main site will reside through DocumentRoot parameter.
Finally open the port 80.
Hope this helps
|
|
|
09-01-2006, 10:23 AM
|
#6
|
Member
Registered: Aug 2006
Location: minneapolis
Distribution: Fedora
Posts: 32
Original Poster
Rep:
|
port 80
right now I have not configured any firewall, but it is turned on. Let me see if this is right: by "turn on" port 80 do you mean enable the HTTP service?
What do i need to do to forward port 80?
|
|
|
09-01-2006, 11:42 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
i've already pointed you towards portforward.com
|
|
|
All times are GMT -5. The time now is 10:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|