LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up a web server and not only that... (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-a-web-server-and-not-only-that-324604/)

axelwing 05-18-2005 01:29 AM

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.

reddazz 05-18-2005 09:01 AM

You may need to reconsider your use of Redhat 9 on your servers. Take a look at this page on the Redhat website.

SteveK1979 05-18-2005 12:49 PM

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

axelwing 05-19-2005 06:03 AM

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.

jkassemi 05-19-2005 09:40 AM

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...


All times are GMT -5. The time now is 02:22 AM.