Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Apache web server.

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-14-2007   #1 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 9
Apache web server. [Resolved]

Alright, take it rather easy on me because I'm new to gentoo but I think that I've found out Apache will create a website people can see, correct? Well this is true if I go to http://192.168.0.111 which is my server's IP address. But if I misunderstand the network dynamics isn't this IP just for my network and if ANYONE else tries it won't it just give them an DNS error? How do I have my website broadcasted with an actual unique IP?

My network is setup that I have a wireless router with 2 cat 5 cables coming from it, one to my server and the other to another computer, while my laptop runs off the wireless.

Also if I go to http://192.168.0.111 on the other computer connected to the router it still works, but I assumed as much because its connected to my network.
Tibblez is offline  



Reply With Quote
Old 05-14-2007   #2 (permalink)
Linux Guru
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,408
Quote:
Originally Posted by Tibblez View Post
Alright, take it rather easy on me because I'm new to gentoo but I think that I've found out Apache will create a website people can see, correct?
This is correct
Quote:
Originally Posted by Tibblez View Post
Well this is true if I go to http://192.168.0.111 which is my server's IP address. But if I misunderstand the network dynamics isn't this IP just for my network and if ANYONE else tries it won't it just give them an DNS error? How do I have my website broadcasted with an actual unique IP?
First you need to figure out your external IP (i.e. the IP address the internet sees). There are many ways to do this, but I use WhatIsMyIP.com. Click on that link, and it'll tell you your IP.

Once you've got this sorted, you need to configure your router to forward any requests to port 80 (the port apache normally listens on) to 192.168.0.111 (the internal IP address of your server). The way you do this will depend on your router, but normally this is accomplished by using a browser to go to 192.168.0.1, which brings you to your router's configuration page.

If you've done that correctly, you should be able to see your website using the IP address you found off whatismyip.com.

The next step after this is to go to DynDNS to register for a free domain name. I use this for the site in my signature. This is especially helpful if your IP address is dynamic.

Good luck!
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Old 05-14-2007   #3 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 9
Thank you! I didn't realize it could be that easy. I assume its working, but I can't really tell until someone else tries it because all my computers are hooked up to the network and would show the site anyway.
But, if you visit here: This is a test do you see my page? Yes, its primitive, but it was what it stated. A test.

Well, Now I'm having a problem with my portage tree, but I'll post that in a new topic later. Thanks for the help!
Tibblez is offline   Reply With Quote
Old 05-14-2007   #4 (permalink)
Linux Guru
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,408
Quote:
Originally Posted by Tibblez View Post
Thank you! I didn't realize it could be that easy. I assume its working, but I can't really tell until someone else tries it because all my computers are hooked up to the network and would show the site anyway.
But, if you visit here: This is a test do you see my page? Yes, its primitive, but it was what it stated. A test.
Yes, I see it! It says "this is a test" with a link to "this page two"!

Well done!

Now you need to go to dyndns.org like I said, and sort yourself out with a free domain name.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Old 05-14-2007   #5 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 9
I would go with DynDNS but I prefer no-ip because I like the example.bounceme.net domain better than any of the ones on DynDNS.
Thanks for all the help!

And If you can, attempt to help me at my new post:
http://www.linuxforums.org/forum/gen...age-error.html
Tibblez is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:18 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1