PDA

View Full Version : Setting up an internal Web server (Linux, Apache)


Th0r
05-22-05, 07:40 AM
Hey all,

Well, i want to setup a couple of web servers on my home network so i can basicly develop my websites i am working on, i rather not upload every 2 seconds when i do changes, i am learning PHP and i cannot be bother'd to setup PHP on the windows computer which i will currently work on.

Basicly. I've setup Apache, but i just don't know how to config it, i am confused with what to do :P

I want it like:

http://linuxserver:1010 > Which will connect to one website i'll be working on

then

http://linuxserver:1020 > Which will handle another website on my linux computer, and so on.

I just need to know what i need to put in my httpd.conf :P

Also, how do i set it up so anyone on my network can access it?

Thankyou.

Turd Furguson
05-23-05, 11:58 AM
Well if its running on linux I am not too sure.

As for it being internal, as long as you type in the correct name and port number you should be able to connect to it.


# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#

Honestly it would just be a lot easier if you typed in the IP address of the machine you want to look at the webpage at, then bookmark the site. So when you want to view it you can just click on the bookmark and then you have it.