Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hello everyone,
I am trying to set up a basic webpage server with apache. I have been trying to search on google but I couldn't find any thing helpful.I tried playing around but it didn't work for me. Any way I use a SpeedStream 5100 and a Linksys Wireless B router I use internet through the ethernet ports NOT wirelessly. Oh my Router product code is BEFW11SR. I will aperciate any help. I am planning to set up my sever on Debian sarge. If you anything is better for the job please post it. Oh also please tell me if it is going to cost anything? I want to keep the spending low. I am kind of new to linux, but not too new, so bear with me please.
Are you asking about Apache, your router, ethernet, 802.11b, NAT/PAT, web programming, colo hosting or a self run server.
If I'm being dense, I apologize, but I really don't see your question. It looks like you want ot run a server on your home internet connection, but the rest of that info kind of throws me.
Looks like he's trying to set up a webserver on his home lan. Well, set up debian sarge and downloaded the latest apache source from http://apache.org.
1. Compile it and install it.
2. On your router, you need to forward port 80 to your linux box.
3. Get a domain name (either buy one or just a free one from say dyndns.org)
4. That's it.
Let us know specifically what you need or what problems you have encountered.
hello everyone,
I am sorry, I didn't make my question clear. My question was how can I set up an apache web server? I couldn't find the answers by searching on google, the other information (e.g router) for you guys . OK anyway I am in the process of installing debian and installing apache. One more thing I want my friends and relatives to go www.relpac.com and see my website , I registered that domain, currently I am using a domain and hosting service. Do you guys think that I wouldn't need that stuff once I set up my server? Thank you for your help.
Thank you,
darkgamer20
P.S I asked my ISP (SBC DSL) if i could host a webserver and they said I could.
Last edited by darkgamer20; 12-04-2004 at 12:18 PM.
Do you guys think that I wouldn't need that stuff once I set up my server?
Yup. Once you get your apache running (and with the appropriate modules that you need) then you can host everything yourself. That's what I do and I love it.
How do you have yours setup? That's what I want to do. I have apache running my web site off of http://(my ip address). I bought a domain name last night but how do I setup apache to tie the ip address and my domain name together without using godaddy.com to forward my domain name to my ip address? Or do I need some kind of domain forwarding service?
Thanks
Quote:
Originally posted by twantrd
Code:
Do you guys think that I wouldn't need that stuff once I set up my server?
Yup. Once you get your apache running (and with the appropriate modules that you need) then you can host everything yourself. That's what I do and I love it.
You have to have DNS servers to act as SOA for your domain. I run a small hosting bx for me and a few small business customers. Here's my setup.
I'm doing name based virtual hosts with Apache and have BIND9 running DNS service. When I register the domains, I have the nameservers listed with the registrar set to two of my servers, that way, I control the whole operation from the registrar down (not including ISP of course). I host email and ftp and shell accounts on the same servers.
I think DNS is probably the piece of the puzzle you're missing. Sounds like you have a domain and Apache. You just need to tell the internet how to find you (which is what DNS does).
You'll find quite a bit of info that you need on my site . Cannot help with the router but normally they have quite good manuals and providing you can do port forwarding with it, it should work well.
ok I installed Debian Sarge and set up apache. Next I went to www.cjb.net and got a redirecting url for my ip, so that when someone types www.darkgamer20.cjb.net they will go to my site. But when I asked my friend and tried with the other computer connected to my router, to go to the site it is asking for the router configuration password and user. So I stoped everything so that when you type in my url it won't go anywhere. I am not sure how to port forward, if someone could post a guide or something that would be great. Also one more thing, what is the ServerName thing for in the apache httpd.conf file, do I just enter a name and then restart apache and except to go to that site ( The one that I entered in the apache conf file)? Is it possible to set up a .com with out registering it.
Last edited by darkgamer20; 12-05-2004 at 04:41 PM.
That sounds like your router is taking over port 80 for administrative remote login. Honestly, I would disable this feature (if it allows depending on your router) for security reasons. If you can disable it, then perfect. Try to port forward port 80 (on your router's settings) to your linux ip address. Then try to domain name again, it should work.
Take a look at your router's manual for help on this. Easiest to do is login to your router and check out the settings it has. The settings on your router are pretty straightforward. If you still need help, then post back the make/model of your router.
Code:
Is it possible to set up a .com with out registering it.
Correct, the answer is NO. However, if you are doing this only internally (like an intranet website or whatever) then yes you can with Bind or whatever DNS service you are using.
Code:
Also one more thing, what is the ServerName thing for in the apache httpd.conf file
That ServerName field is the name of your apache service. Just name it: www.darkgamer20.cjb.net. Also, take a look at the comments of what it says for ServerName in your httpd.conf. It tells you what it is.
sorry for not replying. well I got everything to work. i stopped using the router because it was giving me trouble. so now if you go to www.darkgamer20.cjb.net you will go to my site. all i did was just install apache through apt-get and it set it up for me. then i just editted the conf file. thanks for the help everyone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.