LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 03-13-2004, 08:46 PM   #1
RussOSU
LQ Newbie
 
Registered: Mar 2004
Location: Portland Oregon
Posts: 1

Rep: Reputation: 0
Newbie WebServer


I am trying to setup a webserver (just a test server for me and a couple friends) to post websites on. I have a system running fedora core 1 but I am not sure what all I have to do to get the server active and go live with it. It would also be kinda cool if I could run an email server with this so I don't have to use a hotmail address but I am not sure if that is all possible without purchasing a domain name and hosting service. Anyone that could help clear up anything for me would be most helpful. Currently I have only installed fedora core 1 on the system and have opened the web ports on my router. So any suggestions would be great.

Russ
 
Old 03-13-2004, 10:00 PM   #2
mattp
Member
 
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368

Rep: Reputation: 30
I don't know about the email, but the webserver part is easy...

First, you need to install Apache webserver. It probably already comes with your distro, so look on your CD. If you can't find it, you can download (free) it at http://www.apache.org.

The installation will create a directory /var/www/htdocs. Put your websites in the htdocs folder. To view the site locally, you can enter in your web browser http://127.0.0.1/document_name.html. The document name is index.html you don't have to specify it in the document name. To view the website you have to get your IP address. I am new to Linux so I dont know how to do it for your OS. Then, make sure your connected to the internet, and have your friend type in http://YOUR.IP.ADDRESS/document_name.html

Hopefully, if all is well, he should see your page. I dont think I forgot anything here, if I did, perhaps one of the gurus will clue me in! ( :

Last edited by mattp; 03-13-2004 at 10:07 PM.
 
Old 03-14-2004, 09:46 AM   #3
Lucasite
LQ Newbie
 
Registered: Mar 2004
Location: United Kingdom
Posts: 21

Rep: Reputation: 15
If you want to find out your ip address, type IFCONFIG, it'll tell you in there. Thats your local ip address. To find your external ip address, open up a webbrowser on your server and go to either:

http://whatismyipaddress.com
or
http://checkip.dyndns.org

I prefer the later one, its alot cleaner and tells you what you asked for, no adverts, crap, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie needs help for down webserver natcire Linux - Enterprise 13 05-10-2005 07:12 PM
Mandrake Webserver and Other Newbie Questions macgyver007 Linux - Newbie 3 10-29-2004 08:09 PM
newbie question: setting up webserver geo_h Linux - Networking 1 09-09-2003 01:20 PM
Webserver newbie...need help... jd121 General 2 09-08-2003 04:54 PM
newbie webserver queries. Trinity22 Linux - Newbie 5 08-22-2003 02:04 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
My LQ
Write for 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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration