Linux - NetworkingThis 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.
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.
It doesn't really matter - the server should start. To avoid the error
1) Add or edit the ServerName directive in httpd.conf and set it to your dns name or if you don't have one - just the name of the machine - ie "myserver".
2) Add the name you used above such as "www.yourhost.com" or "myserver" to the loopback address in httpd.conf - ie:
127.0.0.1 localhost localhost.localdomain myserver
or
127.0.0.1 localhost localhost.localdomain www.yourhost.com
Ok I added the ServerName directive and set it to "www.clanasr.com", but now I'm getting another error entirely.
Code:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down.
I'm assuming this is because I didn't understand part 2) fully. All I know is my router's ip, the domain name that i bought, and the individual ip's of the machines behind my router. Thanks for the help thus far
just so that you know, You will need to turn on port forwarding so that when someone tries to access <someipthatbelongs2u> that it will get directed to <someinternalnetworkip> Most routers either have a utility in the main router control or on their web config (if they have one!!)
That address is the "loopback" address. Wherever you are, that address will be the computer that you are working at. It's the same thing as localhost
Darn!
One thing is, you can't give someone your internal network ip to go to unless they are on your network. Otherwise they will go to their network! For instance mine is 192.168.2.4 internally but my internet ip is 69.138.169.91 That's the gateway computer's ip address.
Go to http://cherripeaches.msspro.com/desktop.PNG(make sure it has the uppercase png --That's what my opening screen for my router's web config looks like (with some quick name changes to protect the innocent!). I would click on Advanced Settings!
Maybe it would be in your router config util on your host/gateway computer? (the computer that is connected to your router)---Yes I do access this site with a windows computer and that's where my gateway is and that's what my router was ment for.
Hey, i tried browsing to that address and it returned a "This page could not be displayed" page, which is good right? because at least its not saying it couldn't find the page...
haha, sorry for making a million posts, but i was trying to connect to "127.0.0.1:80" from my windows machine, not my linux machine, thats why it couldn't find the page, when i connected from the linux machine it found the apache page! yipee! so now i want to test it and get it running from outside.
I connected to it from my windows machine using the internal ip. I'm going to look around my router to see if i can find port forwarding, would they call it anything else by some chance?
If it IS going by some other name that port forwarding are there some basic settings i should look for that would help me identify it? There's a page called "Routing table" would that be it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.