[H-GEN] Installing a website!

Sandra Mansell fakungabubu at gmail.com
Sun Aug 7 22:10:15 EDT 2005


Russell Mathews wrote:

> I am hoping that someone will be able to assist me.   I hope that it 
> will not involve anyone else in a great amount of time.

It'll probably involve you in a lot of time though. Trial & error is 
often a good way to learn. I like the "what does this do?" method of 
learning but it's not for everyone.

> I want to have my website up and running.  I am okay with writing the 
> actual website in Mozilla/Netscape. I just need to be able to find 
> where to load my website files under Linux, and to make it accessible 
> from the web as well as ensuring that I am not hacked.
>
Looks like you've already got a router. That is a good start.

> I have ADSL and a static IP.  I have two boxes connected. One is a 
> Windows box and one is a dual boot box.  I want to put my website(s) 
> up under Linux.   I installed the Latest Fedora; Fedora Core 4.    At 
> present I will probably use the Linux box for mainly my webserver.   I 
> probably have already installed the directories where I should place 
> my Index.html and other website files, but do not know its name or how 
> to access it.    
>
You need to find out if you're running apache or another httpd. See below.

>
> I tried to access my site by http://<IPaddress <http://%3cipaddress/>> 
> but was met with a dialogue Login box from my DLink Modem/Router.   
> So, I think I have at least two problems.
>
To get to see the linux box's website from the outside world, you're 
going to have to forward the port on the router to the correct port on 
the linux box. I don't know DLink Routers so you'll have to consult your 
manual for that one.

Point your windows box at the internal IP of the linux box and see if it 
comes up with anything. The first thing you want to do is get it all up 
and running BEFORE you start forwarding ports to the box from the 
outside world. If it's running a httpd it should display the default 
page. This will tell you what you're running and tell you that it's a 
placeholder.

Fedora. I don't know Fedora all that well, but try /var/www/ for where 
the website files should go, and /etc/apache/ (or something similar) for 
the setup files. httpd.conf is the file you want to modify. You'll want 
to read the instructions contained within VERY carefully before you 
modify anything. We changed our directory for the website to be under 
/home in case we ever moved /home to another hard drive. And also so 
that we could give it permissions for users other than owner/root 
without having to worry. (Ours is also a samba share so that it can be 
modified quickly/easily. And also because it holds 99% of our install 
files.)

I think I've started you off with the basics. Feel free to ask any other 
questions. I'm by no means an expert but if googling gets you nowhere I 
might be able to help.

Sandra.

-- 
fakungabubu at gmail.com
http://photoalbumerator.blogspot.com/
McGee: Are you wishing you were a computer geek?
Tony: I'd rather be homeless than be you, probie. 
   -- NCIS "Dopplegänger" season 2 episode 12





More information about the General mailing list