List Info

Thread: Problems after installation




Problems after installation
user name
2006-10-08 13:22:32
if you are working on a local machine without using a DNS
server, you
can create a simple entry in your "hosts file",
usually it is placed
in "/etc/hosts".

i work that way, in my case my "hosts" file looks
like this:

192.168.0.1 campsite.localhost.localdomain campsite

so, in the browser i can use either:

http://campsite/

or

http://campsit
e.localhost.localdomain/


regarding the vhost file, you can include it by using
something like this:

Include conf/vhosts/campsite-vhost.conf

if you are using apache 1.3.x you can simply copy and paste
to the
corresponding vhost area into the httpd.conf file.

both cases, do not forget restarting apache


On 10/7/06, jdonthdonth.com <jdonthdonth.com> wrote:
> Mugur,
>
> That fixed it!!! Thank you.
>
> I am now at the point of configuring the web server and
I do not know how to do this - do you have an example I can
follow?
>
>
> I do not have a DNS entry as I am using a static IP
address (this is an evaluation machine) so I don't know to
edit: /usr/local/campsite/etc/campsite/campsite-vhost.conf
>
> "and replace $SERVER_NAME with the appropriate
value. Your system administrator should provide the server
name. It must also be registered in the DNS (Domain Name
Service)."
>
>
> nor do I know how to:
>
> "Include the file
"[instance_name]-vhost.conf" in the main apache
configuration file." Do I 'cut and paste' the contents
of the vhost.conf file into /etc/apache/httpd.conf or is
there a specific syntax to include another file?
>
> Thanks,
> Joe
>


-- 
/holman
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )