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.
ok, i have thought and i want to install a webserver.
i have fedora linux, with that http thing.
I ve read so many things on how to make on but it doesnt work
can anyone tell me how to set a webserver up, and im using shaw as my isp and a linksys router.
I have no clue what to put in the configurations or how to start it.
and will the adress like www DOT domain DOT com be free if im hosting it. i have a dynamic ip.
please help
First, make sure that you have the httpd deamon running. Second, make sure you can access http://localhost. If you can, next you need to setup port forwarding to the router. You also want to assign your linux box a static IP within your routers range. This can be done via the network tool under gnome, under system tools I think. You will want to change the IP to 192.168.1.51, subnet mask 255.255.255.0, and gateway 192.168.1.1. After assigning this, make sure you restart your ehternet connection. (If all else fails, reboot)
Port forwarding:
Go to your routers administration panel (default for linksys: http://192.168.1.1 uname:<nothing> pass:admin) . Go to port forwarding, and forward port 80 to 192.168.1.51. You should know use your IP addy from your ISP to access your webserver. However, your ISP MAY block port 80, so you may have to use another. This would require changing the forwarded port on your router, AND changing your httpd.conf file fo apache. There will be an option to change the port, change it from 80 to another port (I use 82). After you access it from your IP address, next you need to assign your domain name to your IP.
FIRST, you need to take your ip address and register it with a DDNS (Dynamic Domain name server) with your www.domain.com name. I recommend www.zoneedit.com. Then, with this, you may need to wait a day or two before you can access it. But the DDNS kind of forwards requests to your name to your IP. Then, your router will forward the requests to your linux webserver. Also, each time your get a new IP address from your ISP, you need to update it with zonedit.com.
Last edited by deviance99; 11-14-2004 at 08:45 PM.
i cant get the httpd deamon to run it shows an error, do i have to update it. and does the dns cost for a name to my ip or can i host my own dns server.
i got it to run perfectly.
i can accsess local host, but may users accsess through my ip and when i go to network setting and cvlick host may i make a machine with a host name that other peole can connect thorugh because i dont want to pay for a domain name i want to host my own any ideas, help
As long as you don't mind using a .no-ip.com address, no-ip.com is a good way to get a free domain name and DNS service. Basically you use yourchoiceofword.no-ip.com (or .org or .net or a few others) and point it at your router IP. As long as your router forwards port 80 to your linux box, you're good to go.
ya ive heard of that, but is there any way i could set up my own DNS service because i need a .com domian and im not willing to pay other sellers.
and for the http: server do i get php and mod perl and is there any control panels i can install.
plus were do i get my sql databases for my http server
Originally posted by runeleader ya ive heard of that, but is there any way i could set up my own DNS service because i need a .com domian and im not willing to pay other sellers.
and for the http: server do i get php and mod perl and is there any control panels i can install.
plus were do i get my sql databases for my http server
The good bit about no-ip.com is htat their basic service is absolutely free, provided you use their no-ip.com domain. If you need your own .com domain, I'm unaware of any way to get one for free. You may be able to set up your own DNS server, but you'll still have topay to register the domain name your using.
As for the php, perl and database, Apache is perfectly capable of handling all of that. Do a search here on setting up a LAMP (Linux Apache MySQL PHP) server. There are a ton of posts on how to get it working. For perl, you'll need to investigate setting up CGI with Apache. Again, there is plenty of existing advice here on LQ.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.