LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-18-2005, 01:29 AM   #1
axelwing
LQ Newbie
 
Registered: May 2005
Posts: 7

Rep: Reputation: 0
Setting up a web server and not only that...


Hello,

I'm a newbie and when I say newbie, I really mean one, so I would be very grateful for some help.

I have to setup a web server as follows:

we are a small company which is getting the Internet from a provider. Our website is hosted to a hosting company.
What we want is to have our website hosted on our own server, keeping the Internet provider and I'm the one who have to do that.

I installed RedHat 9 on the server, set up the www, cgi-bin folders, set up the ftp service and mysql server.

What I know is I have to change the DNS of our domain in order to point to our server IP but that's all and that's easy do do.

Can anyone here tell me the necesarry steps I need to take, in order to have that server up and running with the website on it?
I know there are manuals, but unfortunately now I don't have the time to search and read them, since it is a matter of days.


Thank you very much for your help.

Axel.
 
Old 05-18-2005, 09:01 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You may need to reconsider your use of Redhat 9 on your servers. Take a look at this page on the Redhat website.
 
Old 05-18-2005, 12:49 PM   #3
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Hi Axelwing,

Welcome to LinuxQuestions.org!

Can you be a bit clearer what you need help with? It sounds as though you've set pretty much everything up already....

You haven't mentioned Apache, which is what I assume you're using as your web server software, but the rpms for that install as part of the default RH9 installation set, so it should be there.

Reddazz has pointed out something important - RH9 is a little long in the tooth now and doesn't have any new updates/security fixes released by Red Hat at all, so you may want to consider a distro that is updated on a regular basis, especially as you're very new to GNU/Linux and probably don't want to worry about recompiling all your important software or kernels and the like.

Also, unless your server is behind a (good) firewall, you'll probably be wanting to set up iptables too...

Cheers,

Steve
 
Old 05-19-2005, 06:03 AM   #4
axelwing
LQ Newbie
 
Registered: May 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Web server

Hello SteveK and thanks for your welcome.

The redHat installation itself and setting up of the services ( ftp, iptables, apache etc. ) isn't a real problem; I read lots of postings and thanks to them I figured out what and how to do.

My problem resides in external/internal IPs and making the website to be visible from the outside.

Now we have the website on another server and the DNS is according to that. I know that at a moment I will have to change the nameservers to point to our server's IP. What I don't understand is how to give an external IP to the server and the other settings I need to consider in order to have the whole thing up and running.

I don't know how to tell it more clear; my problem is that I cannot say "I don't know something" as long I don't know at least what am I suppose to talk about...

So, supposing that I have the following:

- a server with the OS installed and running 100%;
- a website uploaded on it;
- an Internet provider

what should I do next to make the website visible on the Internet?

Thanks again, very much.


Axel.
 
Old 05-19-2005, 09:40 AM   #5
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Rep: Reputation: 15
The web server will listen on port 80 (unless you changed the listen port)... Set up the DNS IP's at your domain registration site to point to the IP's you have set up for your server...

If you don't have two static IPs you can use zoneedit.com or some other free service.. I'm sure there are plenty...

Once traffic is being forwarded to your computer (make sure if you have a router you forward all traffic to the correct locations on your network) your server (assuming it's installed correctly) should display the page...
 
  


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
Setting up own web server kirtimaan_bkn Linux - Networking 14 11-20-2005 09:33 PM
Setting up a web server Spyiish Mandriva 15 11-09-2004 08:06 PM
Setting up a web server lemonsensation Linux - Newbie 3 08-13-2004 12:20 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Help setting up web server KnightEagle Red Hat 4 10-05-2003 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration